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

fix: Restore screenshot functionality for iOS 14.4 simulators #577

Merged
merged 2 commits into from
Mar 27, 2022

Conversation

Dan-Maor
Copy link
Collaborator

It appears that the new screenshot API introduced with Xcode 12.5 (_XCT_requestScreenshot:withReply:) does not work on simulators running iOS 14.4 and below ("connection to testmanagerd interrupted"), thus not allowing to capture screenshots on such simulators when using Xcode 12.5+.

This commit sets the minimum supported simulator version for the newer screenshot API to 14.5 for simulators instead of always allowing it when the selector is detected.

Should probably also address #569

@mykola-mokhnach mykola-mokhnach merged commit d6a74eb into master Mar 27, 2022
@mykola-mokhnach mykola-mokhnach deleted the simulator_screenshots branch March 27, 2022 08:29
github-actions bot pushed a commit that referenced this pull request Mar 27, 2022
## [4.3.1](v4.3.0...v4.3.1) (2022-03-27)

### Bug Fixes

* Restore screenshot functionality for iOS 14.4 simulators ([#577](#577)) ([d6a74eb](d6a74eb))
@github-actions
Copy link

🎉 This PR is included in version 4.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants