To take a video xcrun simctl io booted recordVideo <filename>.<file extension> For example: xcrun simctl io booted recordVideo appVideo.mov Press ctrl + c to stop recording the video.