Xcode Junk Xcode Cache
~/Library/Caches/com.apple.dt.Xcode stores Xcode cache data that helps Apple’s development tools open projects, index code, and reuse temporary build information.
What is Xcode Junk Xcode Cache?
~/Library/Caches/com.apple.dt.Xcode is a cache folder used by Xcode, Apple’s integrated development environment for building, testing, and submitting apps for Apple platforms. Cache data in this location helps Xcode speed up routine work such as reopening projects, indexing source code, and reusing temporary information created during development sessions. Developers commonly encounter folders like this after building apps, switching branches, updating SDK content, or working with large projects on macOS. Because it is cache data, the contents can usually be recreated by Xcode when needed. Removing it may free disk space or help after unusual IDE behavior, but Xcode may take longer the next time it rebuilds indexes or project data.
Review files before deleting with diCleaner
Inspect caches, support files, folders, and related data before deleting items on Mac.
Safety overview
Status: Mostly safe
This folder is tied to Xcode and stores cache data rather than your source code projects. Deleting it is generally low risk for personal files, but Xcode may need extra time to rebuild indexes, restore cached package data, or regenerate temporary development information afterward. If Xcode is open, quit it first to avoid conflicts while files are in use.
Recommendation: Keep this folder if you use Xcode regularly and want the fastest project indexing and loading experience. Remove it when you need to recover disk space or troubleshoot stale Xcode behavior, understanding that the app may recreate the folder and feel slower until its caches are rebuilt.
File path
~/Library/Caches/com.apple.dt.Xcode
Share your experience
Be the first to share your experience.