-
-
Save lborgav/65945a0b97097cdcf3ba to your computer and use it in GitHub Desktop.
Reset all iOS simulators with this one weird trick
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
osascript -e 'tell application "iOS Simulator" to quit' | |
xcrun simctl list devices | grep -v '^[-=]' | cut -d "(" -f2 | cut -d ")" -f1 | xargs -I {} xcrun simctl erase "{}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment