Remove unused XCode simulators
TLDR; Go to /Library/Developer/CoreSimulator/Profiles/Runtimes
and delete your unused simulators.
To quickly open the directory. There are 3 ways:
- From the terminal, run
open /Library/Developer/CoreSimulator/Profiles/Runtimes
. - In Finder, press
Cmd + shift + g
, paste the directory path. - In Finder, select
Go
menu, selectGo to Folder...
.
To check for the directory size on disk, use du -d 1 -h <path>
. For example:
# du -d 1 -h /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 13.3.simruntime
6.0G /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.3.simruntime/Contents
6.0G /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.3.simruntime