MacOS – XCode 4.5 downloading documentation

documentationmacosxcode

I have installed XCode 4.5. During the installation there was an error about downloading the documentation. I did not pay much attention, but I think the error was same as that mentioned in:
this question.

I tried the solution as mentioned in the post, but there is no file named as: "com.apple.adc.documentation.AppleOSX10_8.CoreReference.docset" as stated in the answer.

The main problem I have with the documentation is that it is incomplete. While some of the pages are displayed properly, the other pages are blank.

How do I repair the documentation? I am ready to re-download the documentation. I do NOT want to download the entire XCode 4.5 again. Please help!!!

Note: I am using Mountain Lion 10.8.

Best Answer

You can do that directly form Xcode preferences:

  1. Open Xcode
  2. Menu Xcode > Preferences
  3. Go to the tab Download
  4. Go to the sub-tab Documentation
  5. Select the documentation you want to re-install
  6. Click the - icon below the documentations list for moving it to the trash.
  7. Click install on the desired documentation

Maybe you can skip the step 6 if Xcode shows that the documentation is not installed.