What it is
Xcode's own cache: downloaded documentation indexes and other temporary data.
Can you delete it?
Yes, it is rebuilt automatically. Xcode rebuilds it when needed.
How to clean it safely
- Quit Xcode.
- Delete the folder's contents.
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/"Library/Caches/com.apple.dt.Xcode" 2>/dev/nullStep-by-step guide: Clean up Xcode →
Related folders
- CocoaPods download cache ·
~/Library/Caches/CocoaPods/Pods - Tuist cache ·
~/.cache/tuist - CocoaPods cache ·
~/Library/Caches/CocoaPods - Swift Package Manager cache ·
~/Library/Caches/org.swift.swiftpm - Simulator caches ·
~/Library/Developer/CoreSimulator/Caches - Xcode documentation cache ·
~/Library/Developer/Xcode/DocumentationCache
Questions
Is it safe to delete ~/Library/Caches/com.apple.dt.Xcode?
Yes, it is rebuilt automatically. Xcode rebuilds it when needed.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac