Last active
December 10, 2019 13:57
-
-
Save elmolm/045e9dd690037cf71a13b376b65bac8d to your computer and use it in GitHub Desktop.
Reset all xcode simulators
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
... | |
alias sim_reset="echo -ne 'xcode simulator reset'; osascript -e 'tell application \"iOS Simulator\" to quit'; osascript -e 'tell application \"Simulator\" to quit'; xcrun simctl erase all; echo ' [OK]';"; | |
... |
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
#!/bin/bash | |
echo -ne 'xcode simulator reset'; | |
osascript -e 'tell application "iOS Simulator" to quit'; | |
osascript -e 'tell application "Simulator" to quit'; | |
xcrun simctl erase all; | |
echo ' [OK]'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment