6

In looking to free space on my system volume. I found this file:

~/Library/Caches

The file is over 15GB in size, but I can't really tell what it comprises.

I see a Downloads in there, so perhaps it has the manuals/documentation that I've downloaded? Can I relocate this bundle, or should I leave it alone?

  • The ~/Library/Caches/ file is 15 GB or just com.apple.dt.XCode is 15 GB, which is located in ~/Library/Caches? – DrZoo Nov 16 '16 at 16:16
7

It's safe to delete

com.apple.dt.XCode

because Xcode will recreate its caches when needed (it can take some time at first relaunch, though, if Xcode needs to re-download something).

You should not delete the whole

~/Library/Caches

folder, though, because it contains many applications preferences and it wouldn't be safe to delete everything.

To gain more space, you can also delete the obsolete contents of

~/Library/Developer/Xcode/iOS DeviceSupport/

(for example, the old iOS versions you don't use anymore).

There's also stale Xcode data in

~/Library/Developer/Xcode/DerivedData

that you can remove safely.

  • Wait, ~/Library/Caches has configuration? I've been occasionally trashing it for months...what kind of configuration is in there? – SilverWolf Oct 19 '18 at 0:57

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.