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
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