fastlane: Wrong size for Ipad 2nd and 3rd generation

[!] Unsupported screen size [2048, 2730] for path './screenshots/en-AU/iPad Pro (12.9-inch) (2nd generation)-ExecuteExercise.png'
[!] Unsupported screen size [1241, 2688] for path './screenshots/de-DE/iPhone XS Max-ExecuteExercise.png'
[!] Unsupported screen size [1982, 2642] for path './screenshots/de-DE/iPad Pro (12.9-inch) (3rd generation)-ExecuteExercise.png'

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

no, obviously it doesn’t, the screenshot sizes are off on XSMax, XR, some iPads. And here I am, talking to a bot.

Happens with the simplest lane:

capture_screenshots(test_target_name: org_id, scheme: scheme, output_directory: "./fastlane/metadata/#{org_id}/screenshots", number_of_retries:1

Using “iPhone XS Max” in the Snapshot file.

If I manually take a screenshot from the XS Max, the result is OK, 1242. With fastlane, 1241. I’m using also iPhone8+ and iPhoneX and the screenshots are OK for those.

Happened on 2 different systems, so it’s not probably something related to my env.