Super User is a question and answer site for computer enthusiasts and power users. 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

Xcode Documentation only downloads to the current computer from within Xcode. I want to download the iPhone OS 3.0 Reference Library but the thing is - I am not using my Mac right now. My Mac is at my home and doesn't have internet connection.

I don't know how it would be possible?

share|improve this question
I want something like this. this link gives the idea how we can download offline xcode3 docs.… – Sagar R. Kothari Nov 2 '09 at 0:42
up vote 5 down vote accepted

On Stack Overflow there is a very similar question on how to obtain the Xcode Documentation as well: Question 1384622

In order to download the documentation (which is compressed in an xar archive) you need to determine where the appropriate files are stored; in this case the appropriate feed is at < > This can be found by clicking on the i symbol beside the entry in the Documentation section of Xcode's Preferences. You will need to use curl or wget to read the .atom file as Safari won't show the details.

The necessary file needed to be download is

Then you can follow the instructions from learning2code

Once you've copied the .xar file to your Mac (It's about 125MB) you need to install it:

  1. Move the .xar file to /Developer/Documentation/DocSets/ and extract the file by running xar -xf on the file from the same directory. (Run cd /Developer/Documentation/DocSets` first).
  2. You then need to change the permissions on the files by running sudo chown -R -P _devdocs *.docset
  3. Launch Xcode and you should be good to go.
share|improve this answer
"I am not using my Mac right now" - ie, he wants the documentation on Windows. – Dave DeLong Nov 2 '09 at 20:20
Is it necessary? /Developer/Documentation/DocSets/ .. can't we extract somewhere else? – Sagar R. Kothari Nov 2 '09 at 20:34
Yes - Dave DeLong is commenting right. I am on windows. Mac is at my home & office pc is connected to internet. – Sagar R. Kothari Nov 2 '09 at 20:39
@sagar: You don't need to extract to /Developer/Documentation/DocSets/ but this is the default location for Documentation. You can change that path to wherever you want but Xcode will be looking at that location for the Documentation if you want it to appear in Xcode. – Chealion Nov 2 '09 at 20:43
@Dave: From what I understood he needed to download the documentation on his PC so he could load it on his Mac. The documentation is just HTML so a program that will extract the files from the .xar archive would work and can be extracted using 7zip. – Chealion Nov 2 '09 at 20:45

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.