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
- Open the simulator and run your app
- Open the terminal
- Start recording using the following command:
xcrun simctl io booted recordVideo <filename>.<file extension>
, for example:xcrun simctl io booted recordVideo app-preview.mp4
- Press
ctrl + c
to stop recording
Deliver detailed bug reportsWaldo Sessions is a free tool that makes it easy to capture key details as you reproduce a bug. Waldo will capture a full video, device and build details, console logs and network requests, and package them all into one shareable link. Check out an example here and sign up for free!
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.
Deliver detailed bug reportsWaldo Sessions is a free tool that makes it easy to capture key details as you reproduce a bug. Waldo will capture a full video, device and build details, console logs and network requests, and package them all into one shareable link. Check out an example here and sign up for free!
- 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 - Add the following function:
## Starts recording the simulator.
recsim() {
echo -n "Use CTRL+C to stop recording";
xcrun simctl io booted recordVideo "$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.
2 thoughts on “Capture iOS simulator video for App Preview”
Comments are closed.