Skip to content

Instantly share code, notes, and snippets.

@issuran
Last active March 21, 2021 11:39
Show Gist options
  • Save issuran/4369c18f748ae0f4021139606496dd31 to your computer and use it in GitHub Desktop.
Save issuran/4369c18f748ae0f4021139606496dd31 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