~/Library/Developer/Xcode/DerivedData/*
Deleting everything within the DerivedData folder is fine. This just means Xcode will have to rebuild intermediate files for you Apps. You normally would delete some of this anyway when your build starts acting weird.
~/Library/Developer/Xcode/Archives/
Be careful deleting files in here. If you submitted an archive to the App Store and still want to debug it, don't delete it. otherwise, it's fine to delete.
~/Library/Developer/Xcode/iOS DeviceSupport
You can delete any ios versions you do not support anymore.
~/Library/Application Support/iPhone Simulator
This is the old directory used to store simulator data as of Xcode 6. Safe to delete.
~/Library/Developer/CoreSimulator
It is safer to use the "Reset content and Settings" in the options menu of the Simulator. Old versions of the simulator can be deleted here.
Try to run
xcrun simctl delete unavailable
in your terminal.
https://stackoverflow.com/questions/33419301/macos-xcode-coresimulator-folder-very-big-ok-to-delete-content
Try to run
xcrun simctl delete unavailable
in your terminal.
https://stackoverflow.com/questions/33419301/macos-xcode-coresimulator-folder-very-big-ok-to-delete-content
~/Library/Caches/com.apple.dt.Xcode
Caches can be deleted. It'll be recreated anyway.
~/Library/Application Support/MobileSync/Backup
These are your device backup files. You probably need them, but one time I found a 2-year old duplicate backup of my phone here. It's safer to use iTunes to delete your device backups.
No comments:
Post a Comment