Skip to content

Instantly share code, notes, and snippets.

Last active November 30, 2022 09:27
Star You must be signed in to star a gist
Save ZevEisenberg/5a172662cb576872d1ab to your computer and use it in GitHub Desktop.
Reset all iOS simulators with this one weird trick
osascript -e 'tell application "iOS Simulator" to quit'
osascript -e 'tell application "Simulator" to quit'
xcrun simctl erase all
Copy link

zfogg commented Oct 19, 2020

none of this stuff worked for me

# run this multiple times
pkill -flai xcode

# if any $process_id refuses to die and keeps printing out when doing the previous command, run this
kill -9 $process_id


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment