Skip to content

Instantly share code, notes, and snippets.

@yusuke024
Last active March 11, 2020 04:53
Show Gist options
  • Save yusuke024/a5475eb46310557f21999bfb8471969c to your computer and use it in GitHub Desktop.
Save yusuke024/a5475eb46310557f21999bfb8471969c to your computer and use it in GitHub Desktop.
Useful Xcode commands
iOS Simlator Commands
# Uninstall an app from simulator
xcrun simctl uninstall <device_id> <app_identifier>
# Example:
# xcrun simctl uninstall 0BFBAE3C-DD58-4DD7-8F24-E9D9674A4004 com.apple.App
# Screenshot
xcrun simctl io booted screenshot </path/to/save.png>
# Screen record
xcrun simctl io booted recordVideo </path/to/save.mov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment