Skip to content

Instantly share code, notes, and snippets.

@gotev
Created January 13, 2019 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gotev/2bc350931616cfa7b2825f647d5ae7de to your computer and use it in GitHub Desktop.
Save gotev/2bc350931616cfa7b2825f647d5ae7de to your computer and use it in GitHub Desktop.
Free Up Space taken by Xcode

Remove unavailable simulators:

xcrun simctl delete unavailable

Delete all the unneeded directories from:

cd ~/Library/Developer/Xcode/iOS\ DeviceSupport

Remove all the logs:

cd ~/Library/Logs/CoreSimulator && rm -rf *

Caches are always safe to delete since they will be recreated as necessary. This isn’t a directory, it’s a file of kind Xcode Project. Delete away!

rm -rf ~/Library/Caches/com.apple.dt.Xcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment