Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deliver fails to upload IPad screenshots #21764

Open
4 tasks done
Krishsidu opened this issue Jan 3, 2024 · 7 comments
Open
4 tasks done

Deliver fails to upload IPad screenshots #21764

Krishsidu opened this issue Jan 3, 2024 · 7 comments

Comments

@Krishsidu
Copy link

New Issue Checklist

Issue Description

As part of Fastlane call, we are trying to upload iPad screenshots for 11' IPad version. Screenshot dimension we have is 2360 x 1630 and 1630 x 2360.

I am able to upload manually the same screenshot on appstoreconnect.

Fastlane version: 2.217.0

Command executed
Complete output when running fastlane, including the stack trace and command used
 
WARN [2024-01-02 16:37:26.58]: �[33m🚫 Invalid screenshots were detected! Here are the reasons:�[0m
ERROR [2024-01-02 16:37:26.58]: �[31m🚫 Error: ./fastlane/screenshots/en-US/SCREENSHOTS_IPAD_0.png - Invalid screen size (Actual size is 2360x1640. See the specifications to fix [https://help.apple.com/app-store-connect/#/devd274dd925)�[0m](https://help.apple.com/app-store-connect/#/devd274dd925)%1B[0m)
ERROR [2024-01-02 16:37:26.58]: �[31m🚫 Error: ./fastlane/screenshots/en-US/SCREENSHOTS_IPAD_1.png - Invalid screen size (Actual size is 1640x2360. See the specifications to fix [https://help.apple.com/app-store-connect/#/devd274dd925)�[0m](https://help.apple.com/app-store-connect/#/devd274dd925)%1B[0m)
ERROR [2024-01-02 16:37:26.58]: �[31m🚫 Error: ./fastlane/screenshots/en-US/SCREENSHOTS_IPAD_2.png - Invalid screen size (Actual size is 2360x1640. See the specifications to fix [https://help.apple.com/app-store-connect/#/devd274dd925)�[0m](https://help.apple.com/app-store-connect/#/devd274dd925)%1B[0m)
ERROR [2024-01-02 16:37:26.58]: �[31m🚫 Error: ./fastlane/screenshots/en-US/SCREENSHOTS_IPAD_3.png - Invalid screen size (Actual size is 2360x1640. See the specifications to fix [https://help.apple.com/app-store-connect/#/devd274dd925)�[0m](https://help.apple.com/app-store-connect/#/devd274dd925)%1B[0m) 

Environment

🚫 fastlane environment 🚫

Stack

Key Value
OS 13.0.1
Ruby 2.7.6
Bundler? false
Git git version 2.37.1 (Apple Git-137.1)
Installation Source ~/.rbenv/versions/2.7.6/bin/fastlane
Host macOS 13.0.1 (22A400)
Ruby Lib Dir ~/.rbenv/versions/2.7.6/lib
OpenSSL Version OpenSSL 1.1.1v 1 Aug 2023
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 14.1
Swift Version 5.7.1

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL en_US.UTF-8
LANGUAGE

fastlane files:

No Fastfile found

No Appfile found

fastlane gems

Gem Version Update-Status
fastlane 2.217.0 🚫 Update available

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
did_you_mean 1.4.0
public_suffix 5.0.3
addressable 2.8.5
artifactory 3.0.15
babosa 1.0.4
bundler 2.1.4
CFPropertyList 3.0.6
colored 1.2
highline 2.0.3
commander 4.6.0
dotenv 2.8.1
emoji_regex 3.2.3
excon 0.102.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
faraday_middleware 1.2.0
unf_ext 0.0.8.2
unf 0.1.4
domain_name 0.5.20190701
http-cookie 1.0.5
faraday-cookie_jar 0.0.7
fastimage 2.2.7
gh_inspector 1.1.3
uber 0.1.0
declarative 0.0.20
trailblazer-option 0.1.2
representable 3.2.0
retriable 3.1.2
mini_mime 1.1.5
jwt 2.7.1
memoist 0.16.2
multi_json 1.15.0
os 1.1.4
signet 0.17.0
googleauth 1.7.0
httpclient 2.8.3
webrick 1.6.1
google-apis-core 0.11.1
google-apis-androidpublisher_v3 0.48.0
google-apis-playcustomapp_v1 0.13.0
google-cloud-env 1.6.0
google-cloud-errors 1.3.1
google-cloud-core 1.6.0
google-apis-iamcredentials_v1 0.17.0
google-apis-storage_v1 0.19.0
rake 13.0.1
digest-crc 0.6.5
google-cloud-storage 1.44.0
json 2.3.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 1.8.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
atomos 0.1.3
claide 1.1.0
colored2 3.1.2
nanaimo 0.3.0
rexml 3.2.6
xcodeproj 1.22.0
rouge 2.0.7
xcpretty 0.3.0
xcpretty-travis-formatter 1.0.1
uri 0.10.0
aws-eventstream 1.2.0
aws-sigv4 1.6.0
aws-partitions 1.824.0
jmespath 1.6.2
aws-sdk-core 3.181.1
aws-sdk-kms 1.71.0
aws-sdk-s3 1.134.0
forwardable 1.3.1
logger 1.4.2
cgi 0.1.0.1
date 3.0.3
timeout 0.1.0
stringio 0.1.0
ipaddr 1.2.2
openssl 2.1.3
zlib 1.1.0
mutex_m 0.1.0
ostruct 0.2.0
strscan 1.0.3
io-console 0.5.6
delegate 0.1.0
fileutils 1.4.1
singleton 0.1.0
open3 0.1.0
yaml 0.1.0
psych 3.1.0

generated on: 2024-01-03

@christruong90
Copy link

I am also facing this same issue @joshdholtz

@joshdholtz
Copy link
Member

Will look into! Thanks for the ping 😁

@christruong90
Copy link

Thank you Sir

@Jaelyn-DM
Copy link

I had the same issue. Thanks for looking into it @joshdholtz

@joejcon1
Copy link

joejcon1 commented Jan 5, 2024

I'm also getting this issue, albeit with iPhone 15 simulator running iOS 17.2. Unlike the iPad issue as reported, my screenshots are only 1px too short:

[14:54:09]: 🚫 Error: /Users/<redacted>.png - Invalid screen size (Actual size is 1178x2556. See the specifications to fix https://help.apple.com/app-store-connect/#/devd274dd925)

with the linked documentation asking for 6.1" screen images to have dimensions 1179 x 2556 pixels

Happy to help provide any more information to help here as this is an easy reproduction for me

Snapfile options:

devices
([
  "iPhone 15",
  "iPhone 15 Pro Max"
])

output_directory("./fastlane/screenshots")
clear_previous_screenshots(true)
override_status_bar(true)
dark_mode(true)
output_simulator_logs(true)
stop_after_first_error(false)
erase_simulator(true)

@joejcon1
Copy link

joejcon1 commented Jan 5, 2024

For what its worth, I get the same issue (off by 1px) on:

iPhone 15 17.2 simulator
iPhone 14 Pro 17.0 simulator

@Patricio879

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants