Skip to content

Instantly share code, notes, and snippets.

@JesusMartinAlonso
Last active October 29, 2019 07:08
Show Gist options
  • Save JesusMartinAlonso/d7ed716ef0fe161fe56f84692670d509 to your computer and use it in GitHub Desktop.
Save JesusMartinAlonso/d7ed716ef0fe161fe56f84692670d509 to your computer and use it in GitHub Desktop.
iOS simulator command line util commands
//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