-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Fastlane screenshots are always off by 1 pixels. #21759
Comments
To provide a litte more info, it's most likely just for the iPhone 15 Pro:
|
My way to mitigate this issue: for i in ./fastlane/screenshots/**/iPhone\ 15\ Pro-*.png; do sips --resampleHeightWidth 2556 1179 $i;done |
duplicate issue to #21764 it seems although they are reproducing with a 10px delta on iPad simulators I can reproduce on iPhone 15, iPhone 15 Pro and also iPhone 14 Pro simulators |
iPhone 14 Pro and 15 Pro screenshots:
✅ fastlane environment ✅Stack
System Locale
fastlane files:`./fastlane/Fastfile`# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "120"
default_platform(:ios)
platform :ios do
desc "Generate new localized screenshots"
lane :screenshots do
capture_screenshots(workspace: "piwigo.xcworkspace", scheme: "piwigoAppStore")
end
end
update_app_identifier(
xcodeproj: "piwigo.xcodeproj", # Optional path to xcodeproj, will use the first .xcodeproj if not set
plist_path: "piwigo/Info.plist", # Path to info plist file, relative to xcodeproj
app_identifier: "org.piwigo" # The App Identifier
)
`./fastlane/Appfile`app_identifier("org.piwigo") # The bundle identifier of your app
apple_id("…@…") # Your Apple email address
team_id("…")
# For more information about the Appfile, see:
# https://docs.fastlane.tools/advanced/#appfile fastlane gems
Loaded fastlane plugins:No plugins Loaded Loaded gems
generated on: 2024-01-24 |
I am seeing the exact same issue with: iPhone 14 Pro, iPhone 15, and iPhone 15 Pro. So none of the devices usable for 6.1" displays work.
This is my bash script to workaround: https://gist.github.com/hekuli/e6d00cf4f2167c7c477b7908b80c4e52 ✅ fastlane environment ✅Stack
System Locale
fastlane files:`./fastlane/Fastfile`# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
default_platform(:ios)
platform :ios do
desc "Generate new localized screenshots"
lane :screenshots do
capture_screenshots(scheme: "GatherScreenshots", stop_after_first_error: true)
frame_screenshots()
#sh "./postprocess_screenshots.bash"
#upload_to_app_store(skip_binary_upload: true, skip_metadata: true, skip_screenshots: false, overwrite_screenshots: true)
end
end `./fastlane/Appfile`app_identifier("XXXXXXXXXXX") # The bundle identifier of your app
apple_id("XXXXXXXX@XXXXXX.com") # Your Apple Developer Portal username
itc_team_id("XXXXXXX") # App Store Connect Team ID
team_id("XXXXXXXX") # Developer Portal Team ID
# For more information about the Appfile, see:
# https://docs.fastlane.tools/advanced/#appfile fastlane gems
Loaded fastlane plugins:No plugins Loaded Loaded gems
generated on: 2024-05-27 |
✅ fastlane environment ✅
Stack
System Locale
fastlane files:
`./Fastfile`
`./Appfile`
fastlane gems
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
generated on: 2023-12-30
The text was updated successfully, but these errors were encountered: