Record a video of your app running in the iOS simulator

Creating a video of your iOS app running in the Xcode simulator is as simple running the following from a terminal on macOs:

xcrun simctl io booted recordVideo filename.mov