Just run this in the terminal:
xcrun simctl shutdown all && xcrun simctl erase all
Another approach suggested by @txulu, before erasing the simulator kill the process:
killall "Simulator" 2> /dev/null; xcrun simctl erase all
Just run this in the terminal:
xcrun simctl shutdown all && xcrun simctl erase all
Another approach suggested by @txulu, before erasing the simulator kill the process:
killall "Simulator" 2> /dev/null; xcrun simctl erase all