Recording videos with iOS Simulator

10 Aug 2021

A quick guide explaining how to use xcrun to record videos.


It’s easy to take a static screenshot when using the iOS Simulator from inside the application but to capture video it’s necessary to use the command line tool xcrun.

How it works

Run from the command line…

xcrun simctl io booted recordVideo
xcrun simctl io booted recordVideo

Where is the name of your video.

+ c stops the recording.

The video will be saved to the current directory (you can use pwd to display that if you are unsure what it is).