-
-
Save sercheo87/9f33b520a6ffb21c24c67ea8fd6325ff 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