Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

While attempting to clean up my Air's SSD, the estimable DaisyDisk showed me that 4 GB is being eaten up by Xcode DocSets. I like keeping my friends close and my SDK documentation closer, so I'd be happiest if I could maintain a copy of these DocSets on an external disk, so they're available offline but not cluttering my SSD.

The DocSets currently exist at ~/Library/Developer/Shared/Documentation/DocSets. Is it possible to move the .docset files themselves to a different location (perhaps symlinking to them) without breaking Xcode's doc viewer?

share|improve this question

In Terminal, run

mv ~/Library/Developer/Shared/Documentation/DocSets /Volumes/HDNAME
ln -s /Volumes/HDNAME/DocSets ~/Library/Developer/Shared/Documentation/DocSets

This may take a few minutes to complete.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.