Skip to content

Commit

Permalink
Update Screenshot Siez
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer committed Aug 9, 2024
1 parent d421fb0 commit 5a42cd3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ platform :ios do
xcargs: "-skipPackagePluginValidation -skipMacroValidation",
build_for_testing: true
)

snapshot(
test_without_building: true,
derived_data_path: ".derivedData",
Expand All @@ -58,6 +59,11 @@ platform :ios do
stop_after_first_error: true,
skip_open_summary: true
)

# Workaround for https://github.com/fastlane/fastlane/issues/21759
Dir.glob("./screenshots/**/iPhone 15 Pro-*.png").each do |file|
sh("sips --resampleHeightWidth 2556 1179 '#{file}'")
end
end

desc "Build app"
Expand Down

0 comments on commit 5a42cd3

Please sign in to comment.