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

chore: Disable automatic screen recording by default #726

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

mykola-mokhnach
Copy link

Since Xcode 15/iOS 17 Apple has replaced diagnostic screenshots with video recording by default. Obviously this strategy does not really work our scenario, since WDA itself is literally single long test, which would result in a big video recording exceeding the free storage space. that is why it makes sense to disable this feature by default and (hopefully) being able to record videos on-demand while executing the test.

Copy link
Member

@jlipps jlipps left a comment

Choose a reason for hiding this comment

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

apple, always up to something

@mykola-mokhnach mykola-mokhnach merged commit a070223 into master Jun 8, 2023
@mykola-mokhnach mykola-mokhnach deleted the dis_video branch June 8, 2023 19:31
github-actions bot pushed a commit that referenced this pull request Jun 8, 2023
## [5.3.3](v5.3.2...v5.3.3) (2023-06-08)

### Miscellaneous Chores

* Disable automatic screen recording by default ([#726](#726)) ([a070223](a070223))
@@ -94,6 +94,16 @@ + (void)enableScreenshots
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"DisableScreenshots"];
}

+ (void)disableScreenRecordings
{
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"DisableDiagnosticScreenRecordings"];
Copy link
Member

Choose a reason for hiding this comment

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

oh, nice to find

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

Successfully merging this pull request may close these issues.

3 participants