Xcode Junk Documentation Cache
~/Library/Developer/Xcode/DocumentationCache stores Xcode documentation data so Apple developer docs can load faster inside the IDE.
What is Xcode Junk Documentation Cache?
~/Library/Developer/Xcode/DocumentationCache is a developer-data folder used by Xcode for local documentation content and related cached data. It helps Xcode show Apple developer documentation more quickly inside the app instead of downloading or rebuilding everything each time you browse docs. Mac developers most often encounter this folder after installing Xcode, using built-in documentation, or working with documentation features such as DocC and related browsing tools. The contents are not personal documents and are separate from your source code projects, but Xcode may recreate them when documentation is viewed again. This folder is part of Xcode’s local working data in the user Library and is mainly relevant to software development workflows on macOS.
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 contains Xcode documentation cache data under your user Library, not core macOS system files. Removing it is generally low risk for your projects, but Xcode may need to re-download or rebuild documentation data afterward, which can slow documentation browsing temporarily and use network bandwidth or disk activity the next time you open docs.
Recommendation: Keep this folder if you actively use Xcode’s built-in documentation or want documentation pages to open faster. If you need to free space, you can remove it while Xcode is closed; the main effect is that documentation content may take longer to load until the cache is recreated. If you no longer use Xcode, deleting this folder is a reasonable cleanup step.
File path
~/Library/Developer/Xcode/DocumentationCache
Share your experience
Be the first to share your experience.