Last active
October 29, 2019 07:08
-
-
Save JesusMartinAlonso/d7ed716ef0fe161fe56f84692670d509 to your computer and use it in GitHub Desktop.
iOS simulator command line util commands
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
//Take screenshot | |
xcrun simctl io booted screenshot | |
//Record a video | |
xcrun simctl io booted recordVideo <filename>.<extension> | |
//Open link (util for deeplinking testing) | |
xcrun simctl openurl booted "https://www.example.com/content?id=2" | |
//Reset all simulator contents | |
xcrun simctl erase all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment