Give your simulator superpowers

Click here to
Build Apps Faster

Capture iOS simulator video for App Preview

Creating an app preview video can be really easy using the simulator in just a few steps.

Capturing an iOS simulator video to use for an App Preview video

  1. Open the simulator and run your app
  2. Open the terminal
  3. Start recording using the following command: xcrun simctl io booted recordVideo <filename>.<file extension>, for example: xcrun simctl io booted recordVideo app-preview.mp4
  4. Press ctrl + c to stop recording

Making this part of your workflow using a bash alias

Recording a video from the simulator can be a lot easier using an alias in your bash profile.

  1. Open your .bash_profile. Create one if it does not yet exist. More info can be found here: Creating a .bash_profile on your mac
  2. Add the following function:
## Starts recording the simulator.
recsim() {
    echo -n "Use CTRL+C to stop recording";
    xcrun simctl io booted recordVideo "$1";
  1. Use the command in your terminal: recsim app-preview.mp4

That’s it! An easy way to create your app preview video using the simulator.


Featured SwiftLee Jobs

Find your next Swift career step at world-class companies with impressive apps by joining the SwiftLee Talent Collective. I'll match engineers in my collective with exciting app development companies. SwiftLee Jobs

2 thoughts on “Capture iOS simulator video for App Preview

Comments are closed.