How to capture the iOS Simulator video?

You can take a screenshot or record a video of the simulator window using the xcrun command-line utility. To record a video, execute the following command

xcrun simctl io booted recordVideo <filename>.<file extension>.

For example:

xcrun simctl io booted recordVideo appvideo.mov

Press control + c to stop recording the video. The default location for the created file is the current directory.


You've successfully subscribed to Developer Insider
Great! Next, complete checkout for full access to Developer Insider
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.