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
In-App Purchases Made EasyWith a few lines of code, RevenueCat gives you everything you need to build, analyze, and grow in-app purchases and subscriptions without managing servers or writing backend code. Get started 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.
In-App Purchases Made EasyWith a few lines of code, RevenueCat gives you everything you need to build, analyze, and grow in-app purchases and subscriptions without managing servers or writing backend code. Get started 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.