What is the com.apple.dt.Xcode bundle, and can I delete it?
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?
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.