Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sercheo87/9f33b520a6ffb21c24c67ea8fd6325ff to your computer and use it in GitHub Desktop.
Save sercheo87/9f33b520a6ffb21c24c67ea8fd6325ff to your computer and use it in GitHub Desktop.
How to capture iOS Simulator video
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