This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For Xcode 8.2 or later | |
You can take videos and screenshots of Simulator using the xcrun Xcode command-line utility. | |
1. Run your app on the simulator. | |
2. Open Terminal.app | |
3. Run the command | |
- To take a screenshot, xcrun simctl io booted screenshot | |
- To take a video, xcrun simctl io booted recordVideo <filename>.<file extension>. | |
For example: xcrun simctl io booted recordVideo appvideo.mov |