Skip to content

Instantly share code, notes, and snippets.

@moizjv
Created July 28, 2015 00:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moizjv/3a9ab07a5211b9fab32e to your computer and use it in GitHub Desktop.
Save moizjv/3a9ab07a5211b9fab32e to your computer and use it in GitHub Desktop.
deleting existing iOS simulators based on iOS version
xcrun simctl list devices | sed -n '/-- iOS 7.1/,/--/p'| grep -v '^[-=]' | cut -d "(" -f2 | cut -d ")" -f1 | xargs -I {} xcrun simctl delete "{}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment