Skip to content

Instantly share code, notes, and snippets.

@elmolm
Last active Dec 10, 2019
Embed
What would you like to do?
Reset all xcode simulators
...
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]';";
...
#!/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