fastlane: [snapshot/deliver] iPhone XR screenshots size mismatch
While investigating #13610/#13698 I encountered a problem regarding the iPhone XR screenshots:
- The actual resolution of the device is 828x1792:
https://www.apple.com/iphone-xr/specs/
- But App Store Connect screenshot specifications list the iPhone XR screenshots as “1242 x 2688 pixels (portrait) / 2688 x 1242 pixels (landscape)”:
https://help.apple.com/app-store-connect/#/devd274dd925
So snapshot
takes a XR screenshot as 828x1792, but App Store Connect expects a XR screenshot as 1242x2688 from deliver
- which is causing problems for fastlane users.
Why does Apple expect a different resolution than the actual device has? The problem is that they don’t really support the iPhone XR in App Store Connect at all: The actual Device is 6.1 inches, but in the screenshot specification it is grouped with the 6.5 inch iPhone XS Max.
(Reasoning behind this is that because of the different ppi the both devices use to display their screenshots, the actual, real world size is pretty similar.)
So, what should we do about this?
The XR is a real device, so being able to take screenshots with snapshot
in its device resolution makes sense.
But we can’t let users upload those screenshots to App Store Connect via deliver
, because it will fail.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (7 by maintainers)
Oh right, sorry, you actually only reported problems with iPhone XR, so your information is at the right place here:
Although that problem really is a more general thing: Fastlane has no concept of the screenshot mapping Apple is doing as far as I know, which is the underlying problem of the iPhone XR problem.