fastlane / fastlane

🚀 The easiest way to automate building and releasing your iOS and Android apps
https://fastlane.tools
MIT License
39.56k stars 5.71k forks source link

[deliver] iPhone 15 has unsupported screen sizes #21558

Open getaaron opened 1 year ago

getaaron commented 1 year ago

New Issue Checklist

Issue Description

After using snapshot to take screenshots, deliver fails with size validation for new iPhone devices

Similar to https://github.com/fastlane/fastlane/pull/21393 we need to handle newer devices

Command executed

fastlane deliver

Complete output when running fastlane, including the stack trace and command used
 
[21:32:01]: 🚫 Invalid screenshots were detected! Here are the reasons:
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad (10th generation)-0Launch.png - Invalid screen size (Actual size is 1640x2360. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad (10th generation)-1RecentEvents.png - Invalid screen size (Actual size is 1640x2360. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad (10th generation)-2Calendar.png - Invalid screen size (Actual size is 1640x2360. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad (10th generation)-3CalendarSettings.png - Invalid screen size (Actual size is 1640x2360. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad (10th generation)-4TopiclessEvents.png - Invalid screen size (Actual size is 1640x2360. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad Air (5th generation)-0Launch.png - Invalid screen size (Actual size is 1640x2360. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad Air (5th generation)-1RecentEvents.png - Invalid screen size (Actual size is 1640x2360. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad Air (5th generation)-2Calendar.png - Invalid screen size (Actual size is 1640x2360. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad Air (5th generation)-3CalendarSettings.png - Invalid screen size (Actual size is 1640x2360. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad Air (5th generation)-4TopiclessEvents.png - Invalid screen size (Actual size is 1640x2360. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad mini (6th generation)-0Launch.png - Invalid screen size (Actual size is 1488x2266. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad mini (6th generation)-1RecentEvents.png - Invalid screen size (Actual size is 1488x2266. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad mini (6th generation)-2Calendar.png - Invalid screen size (Actual size is 1488x2266. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad mini (6th generation)-3CalendarSettings.png - Invalid screen size (Actual size is 1488x2266. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPad mini (6th generation)-4TopiclessEvents.png - Invalid screen size (Actual size is 1488x2266. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPhone 15 Pro-0Launch.png - Invalid screen size (Actual size is 1178x2556. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPhone 15 Pro-1RecentEvents.png - Invalid screen size (Actual size is 1178x2556. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPhone 15 Pro-2Calendar.png - Invalid screen size (Actual size is 1178x2556. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPhone 15 Pro-3CalendarSettings.png - Invalid screen size (Actual size is 1178x2556. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPhone 15 Pro-4TopiclessEvents.png - Invalid screen size (Actual size is 1178x2556. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPhone 15-0Launch.png - Invalid screen size (Actual size is 1178x2556. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPhone 15-1RecentEvents.png - Invalid screen size (Actual size is 1178x2556. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPhone 15-2Calendar.png - Invalid screen size (Actual size is 1178x2556. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPhone 15-3CalendarSettings.png - Invalid screen size (Actual size is 1178x2556. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
[21:32:01]: 🚫 Error: ./fastlane/screenshots/en-US/iPhone 15-4TopiclessEvents.png - Invalid screen size (Actual size is 1178x2556. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)
 

Environment

✅ fastlane environment ✅ ### Stack | Key | Value | | --------------------------- | -------------------------------------------------------- | | OS | 14.0 | | Ruby | 2.7.4 | | Bundler? | true | | Git | git version 2.39.3 (Apple Git-145) | | Installation Source | ~/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/bin/fastlane | | Host | macOS 14.0 (23A344) | | Ruby Lib Dir | ~/.rbenv/versions/2.7.4/lib | | OpenSSL Version | OpenSSL 1.1.1l 24 Aug 2021 | | Is contained | false | | Is homebrew | false | | Is installed via Fabric.app | false | | Xcode Path | /Applications/Xcode.app/Contents/Developer/ | | Xcode Version | 15.0 | | Swift Version | 5.9 | ### System Locale | Variable | Value | | | -------- | ----------- | - | | LANG | en_US.UTF-8 | ✅ | | LC_ALL | | | | LANGUAGE | | | ### fastlane gems | Gem | Version | Update-Status | | -------- | ------- | ------------- | | fastlane | 2.216.0 | ✅ Up-To-Date | ### Loaded fastlane plugins: **No plugins Loaded**
Loaded gems | Gem | Version | | ------------------------------- | ------------ | | did_you_mean | 1.4.0 | | bundler | 2.1.4 | | uri | 0.10.0 | | rake | 13.0.6 | | rexml | 3.2.6 | | CFPropertyList | 3.0.6 | | concurrent-ruby | 1.1.8 | | i18n | 1.8.7 | | minitest | 5.14.3 | | thread_safe | 0.3.6 | | tzinfo | 1.2.9 | | activesupport | 5.2.4.4 | | public_suffix | 5.0.3 | | addressable | 2.8.5 | | httpclient | 2.8.3 | | json | 2.6.3 | | algoliasearch | 1.27.5 | | artifactory | 3.0.15 | | atomos | 0.1.3 | | aws-eventstream | 1.2.0 | | aws-partitions | 1.832.0 | | aws-sigv4 | 1.6.0 | | jmespath | 1.6.2 | | aws-sdk-core | 3.185.0 | | aws-sdk-kms | 1.72.0 | | aws-sdk-s3 | 1.136.0 | | babosa | 1.0.4 | | claide | 1.1.0 | | fuzzy_match | 2.0.4 | | nap | 1.1.0 | | netrc | 0.11.0 | | ffi | 1.14.2 | | ethon | 0.12.0 | | typhoeus | 1.4.0 | | cocoapods-core | 1.10.1 | | cocoapods-deintegrate | 1.0.4 | | cocoapods-downloader | 1.4.0 | | cocoapods-plugins | 1.0.0 | | cocoapods-search | 1.0.0 | | cocoapods-trunk | 1.5.0 | | cocoapods-try | 1.2.0 | | colored2 | 3.1.2 | | escape | 0.0.4 | | fourflusher | 2.3.1 | | gh_inspector | 1.1.3 | | molinillo | 0.6.6 | | ruby-macho | 1.4.0 | | nanaimo | 0.3.0 | | xcodeproj | 1.23.0 | | cocoapods | 1.10.1 | | colored | 1.2 | | highline | 2.0.3 | | commander | 4.6.0 | | declarative | 0.0.20 | | digest-crc | 0.6.5 | | unf_ext | 0.0.8.2 | | unf | 0.1.4 | | domain_name | 0.5.20190701 | | dotenv | 2.8.1 | | emoji_regex | 3.2.3 | | excon | 0.104.0 | | faraday-em_http | 1.0.0 | | faraday-em_synchrony | 1.0.0 | | faraday-excon | 1.1.0 | | faraday-httpclient | 1.0.1 | | multipart-post | 2.3.0 | | faraday-multipart | 1.0.4 | | faraday-net_http | 1.0.1 | | faraday-net_http_persistent | 1.2.0 | | faraday-patron | 1.0.0 | | faraday-rack | 1.0.0 | | faraday-retry | 1.0.3 | | ruby2_keywords | 0.0.5 | | faraday | 1.10.3 | | http-cookie | 1.0.5 | | faraday-cookie_jar | 0.0.7 | | faraday_middleware | 1.2.0 | | fastimage | 2.2.7 | | jwt | 2.7.1 | | multi_json | 1.15.0 | | os | 1.1.4 | | signet | 0.18.0 | | googleauth | 1.8.1 | | mini_mime | 1.1.5 | | trailblazer-option | 0.1.2 | | uber | 0.1.0 | | representable | 3.2.0 | | retriable | 3.1.2 | | webrick | 1.8.1 | | google-apis-core | 0.11.1 | | google-apis-androidpublisher_v3 | 0.50.0 | | google-apis-playcustomapp_v1 | 0.13.0 | | google-apis-iamcredentials_v1 | 0.17.0 | | google-apis-storage_v1 | 0.19.0 | | google-cloud-env | 1.6.0 | | google-cloud-errors | 1.3.1 | | google-cloud-core | 1.6.0 | | google-cloud-storage | 1.44.0 | | mini_magick | 4.12.0 | | naturally | 2.2.1 | | optparse | 0.1.1 | | plist | 3.7.0 | | rubyzip | 2.3.2 | | security | 0.1.3 | | simctl | 1.6.10 | | terminal-notifier | 2.0.0 | | unicode-display_width | 2.5.0 | | terminal-table | 3.0.2 | | tty-screen | 0.8.1 | | tty-cursor | 0.7.1 | | tty-spinner | 0.9.3 | | word_wrap | 1.0.0 | | rouge | 2.0.7 | | xcpretty | 0.3.0 | | xcpretty-travis-formatter | 1.0.1 |
*generated on:* **2023-10-05**
getaaron commented 1 year ago

@snatchev do you have any interest in picking up this issue?