Safe to Delete

Xcode Offline Documentation Cache (DocSets)

Quick Answer: Xcode stores downloaded offline developer API documentation sets (.docset). Deleting offline documentation sets is safe.

Bottom Line: It is 100% safe to delete DocSets. Xcode downloads offline API reference documentation packages for iOS, macOS, watchOS, and tvOS development.


What is Xcode DocSets?

Located at ~/Library/Developer/Shared/Documentation/DocSets or ~/Library/Caches/com.apple.dt.Xcode, offline documentation bundles accumulate multi-gigabyte files over time.


How to Delete Xcode Documentation Sets

rm -rf ~/Library/Developer/Shared/Documentation/DocSets/*

Discussion

Loading authentication...

Related in developer

The AI Engineer's Model Disk Cleanup Guide: Hugging Face, Ollama & PyTorch

The ultimate 1,200-word field guide for AI developers and local LLM hobbyists to reclaim 200GB+ from Ollama, Hugging Face, PyTorch, and vLLM model weights.

Safe to Delete

Android Studio System Index Cache (AndroidStudio Cache)

Android Studio caches Gradle project indexes, VFS caches, and compiler artifacts. Invalidate and clear is safe.

Safe to Delete

Ansible Automation Temp & Fact Cache (~/.ansible/tmp)

Ansible stores temporary playbook execution modules and target host fact JSON caches in ~/.ansible/tmp. Clearing Ansible tmp is safe.

Safe to Delete
Back to all files