Repository navigation
Conversation
SwiftLint found issuesWarnings
Errors
Generated by 🚫 Danger |
b01a580 to
fe2c427
Compare
|
Hi, any news on this PR ? |
|
Grabbed the identifiers off the simulators, in case that helps with the placeholders:
( Since Display specs off Apple's page:
Ratios come out to 233:339 and 313:445. One gotcha if you read these from the simulator instead: it reports the inner screen as The two screens have different ppi though (460 vs 430), and there's only one |
|
|
@EugenKuzn @Zandor300 could you please review and merge this? We urgently need the new device support. Thanks! |
|
@EugenKuzn thanks for the quick review! Could you also publish a new release as soon as this is merged so we can use it right away? 🙏 |
Adapt PR #507, excluding iPhone Duo and the foldability API. Replace provisional identifiers with researched hardware mappings, including both iPhone 18 Pro Max regional variants. Add Apple technical specification links, display metrics, and device mapping regression coverage. Adapted from commit fe2c427.
…#512) * Add iPhone 18 Pro and Apple Watch Series 12 and Ultra 4 support Adapt PR #507, excluding iPhone Duo and the foldability API. Replace provisional identifiers with researched hardware mappings, including both iPhone 18 Pro Max regional variants. Add Apple technical specification links, display metrics, and device mapping regression coverage. Adapted from commit fe2c427. * Consolidate new device changelog entry and list case values
fe2c427 to
2ab8367
Compare
c9f43f7 to
cd5fb71
Compare
|
@Zandor300 @EugenKuzn could you please complete the required review, merge iPhone Duo detection, and publish a new tagged release that includes it? DeviceKit 5.9.0 still maps The current CI checks are green, but GitHub still shows If the two-display API discussion is holding this up, could basic identifier/name recognition ship first, with unverified display metrics left explicitly unknown as in this PR? We need reliable model detection even while the broader display API is being worked out. Thanks for maintaining DeviceKit! |
|
It would be valuable to have this released. |
|
Thank you so much for such an excellent library! Could you please let me know when the next version will be released? |
|
First of all, thanks for this amazing library. Do you have any timeline on when this will be available? Thanks in advance 🙏 |
|
Thank you so much for such an excellent library! Could you please let me know when the next version will be released? |
|
Hi there, I think there's something missing. The Duo supports the Apple Pencil but I can't see the device included in the Thanks! cc: @Zandor300 @EugenKuzn |
|
|
||
| #if os(iOS) || os(watchOS) | ||
| func testSeptember2026Devices() { | ||
| struct ExpectedDevice { |
There was a problem hiding this comment.
Types should be nested at most 1 level deepnesting Tests.swift:80 |
|
+1 to iPhone Duo support please. Thanks! |
|
Hello,Will it be released today? @Zandor300 |
|
We are currently working on porting to the Duo device, but since this library has not yet been released, it is hindering our progress. Thank you for creating such an excellent library—would it be possible to release a new version soon? |
Add
Device.iPhoneDuosupport foriPhone19,4, with the A20 Pro chip andisFoldable. Fill in Touch ID, wide and ultra-wide cameras, rounded display corners, Dynamic Island, wireless charging, USB-C, 5G, eSIM, and dual eSIM from Apple’s specifications. Include an official Apple device image. Apple Pencil support is limited to the USB-C model (.firstGenerationUsbC).Display metrics describe the outer display: 5.4 inches, a 233:339 aspect ratio (1398 × 2034 pixels), and 460 PPI. Sensor housing also describes the outer display, based on its visible camera cutout in Apple’s artwork; the deprecated X-Series list stays consistent with the sensor-housing list. Face ID, LiDAR, 3D Touch, and a dedicated telephoto camera remain unsupported. The 2× telephoto mode uses a crop of the main camera. The former
placeholder:iPhoneDuoidentifier returns.unknown.Fix
isSimulatorfor unknown models by checking the.simulatorenum case instead of membership inallSimulators. With the 5.9.0 source andSIMULATOR_MODEL_IDENTIFIER=iPhone19,4,Device.currentisSimulator (iPhone19,4)but previously returnedfalsefromisSimulator. Simulator detection now works even before a model is added to DeviceKit.Validation:
Device.currentwith Duo and unknown simulator identifiers. The unknown-model assertions failed before the fix and pass after it.git diff --checkpassed.mapToDevicecomplexity error (146).The changelog groups these changes under version 5.10.0, with an empty Unreleased section above it.
Fixes #518