Last active
March 21, 2021 11:39
-
-
Save issuran/4369c18f748ae0f4021139606496dd31 to your computer and use it in GitHub Desktop.
How to capture iOS Simulator video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1- First of all, you have to run your app on the simulator. | |
2- Then, open the terminal | |
3- Now, you have to run the command you desire: | |
- Screenshot: xcrun simctl io booted screenshot | |
- Video: xcrun simctl io booted recordVideo <filename>.<file extension>. | |
For example: xcrun simctl io booted recordVideo appvideo.mov | |
4- Press cntrl + c to stop recording the video. | |
In case of error like: active developer path | |
$ sudo xcode-select --reset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment