Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How delete Documentation "iOs 4.2 Library" in XCode 4

HI. My XCode 4.0.1 have a lot of documentation downloaded. I have

  • iOS 4.2 Library
  • iOS 4.3 Library
  • Mac OS X 10.6 Core Library
  • Mac OS X Legacy Library (uninstalled)
  • Xcode 4.0 Developer Library

I want to uninstall 4.2 Library because it is old. But the "minus" sign is disable and "Delete Documentation Feed" is disable too. So, there are no other way to delete it.

Someone know how to do this?

like image 296
Rodrigo Avatar asked May 02 '11 17:05

Rodrigo


2 Answers

Xcode 4:

  1. Open Xcode Preferences
  2. Click to highlight the docset you want to delete
  3. Click the rectangle with a filled triangle icon. It's next to the + and - icons at the bottom of the list of docsets
  4. Click the hyperlink to show the docset in the finder.
  5. Move or delete the docset. You will likely need administrator privileges for this.

I recommend you move them to a temporary location. Especially for older documentation, you may have to install old versions of Xcode to get them back.

UPDATE for Xcode 5:

  1. Navigate to ~/Library/Developer/Shared/Documentation/DocSets/
  2. Move or delete the docset. You may need administrator privileges for this.
like image 79
amattn Avatar answered Sep 21 '22 20:09

amattn


Go to XCode Settings, Documentation tab. Select required documentation set and press arrow up button in the bottom to reveal documentation info pane. There you'll see a link to docset location (was /Library/Developer/Documentation/DocSets/com.apple.adc.documentation.AppleiOS4_2.iOSLibrary.docset on my Mac). Simply delete docset from the file system and restart XCode.

like image 33
sgosha Avatar answered Sep 24 '22 20:09

sgosha