[go: nahoru, domu]

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] Resolves issue uploading iPad Pro 5th gen screenshots #19616

Merged
merged 2 commits into from
Nov 17, 2021
Merged

[deliver] Resolves issue uploading iPad Pro 5th gen screenshots #19616

merged 2 commits into from
Nov 17, 2021

Conversation

christianeiselt
Copy link
Contributor

Checklist

  • I've run bundle exec rspec from the root directory to see all new and existing tests pass
  • I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary.

Motivation and Context

I experienced the same issue as described in #16262 but for iPad Pro 12.9 (5th Gen.): screenshots of the 5th gen. are uploaded into the slot of the 2nd gen. iPad Pro 12.9 inch.
This can be fixed in the same way as in #16288.

Description

The problem was in resolve_ipadpro_conflict_if_needed() function which uses simulator name to resolve conflicts (2nd gen/3rd/4th/5th gens have the same screen size). I added new simulator name to the list.

Testing Steps

Added new unit tests to the app_screenshot_spec.rb, to recognize this corner case.
Run bundle exec rspec deliver/spec/app_screenshot_spec.rb to test.

To test in real world, you need to have a project with screenshots made on 2nd and 5th gens iPad Pros 12.9" simulators. There is no need to submit screenshots to the App Store, preview html clearly shows the issues.

@google-cla google-cla bot added the cla: yes label Nov 16, 2021
@joshdholtz joshdholtz changed the title [delivery] Resolves issue uploading iPad Pro 5th gen screenshots [deliver] Resolves issue uploading iPad Pro 5th gen screenshots Nov 17, 2021
Copy link
Member
@joshdholtz joshdholtz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhh, good find!! Thank you for fixing this 🥰 Really appreciate the contribution!

@joshdholtz joshdholtz merged commit 1311131 into fastlane:master Nov 17, 2021
Copy link
@fastlane-bot fastlane-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulations! 🎉 This was released as part of fastlane 2.198.1 🚀

@christianeiselt christianeiselt deleted the fix-deliver-ipadpro5-screenshots branch November 19, 2021 15:33
@fastlane fastlane locked and limited conversation to collaborators Jan 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants