Fix for missing documentation indexes and other anomolies in the Xcode documentation viewer. Mine seemed to get all borked up with some beta relaeases. Shamelessly ripped off from this thread.
- Quit Xcode
- Delete the cache file at
~/Library/Caches/com.apple.dt.Xcode
. - Delete the contents of
~/Library/Developer/Shared/Documentation/DocSets/
. - Delete the contents of
/Applications/Xcode.app/Contents/Developer/Documentation/DocSets/
. - Launch Xcode.
- Open the Preferences pane, select the Downloads tab, and download the docsets you want to use.
The modern equivalent is to delete ~/Library/Developer/Xcode/DocumentationCache and ~/Library/Developer/Xcode/DocumentationIndex.