Created
July 28, 2015 00:50
-
-
Save moizjv/3a9ab07a5211b9fab32e to your computer and use it in GitHub Desktop.
deleting existing iOS simulators based on iOS version
This file contains 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
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