Search code examples
iphonexcodemacosreference-library

How to download Xcode - iPhone os entire reference library?


Open X code. Go to help menu / or press command + shift + /

Select documentation option.

Now a help window will be opened. In this help window, on the left side there are many options like - iPhone os 2.1 subscribe, iPhone os 2.2 subscribe, iPhone os 3.0 subscribe, Xcode reference subscribe (something look like this).

If we press iPhone os 3.0 subscribe - button, entire iPhone os 3.0 reference library will be downloaded to the osx - current pc only.

I want to download the same "iPhone os 3.0 subscribe", But the thing is - I am not using mac right now. But I still want to download it. Because mac is at my home and my Home mac - doesn't have internet connection and I would like to use this download on my home mac.

I don't know how it would be possible?


Solution

  • The feeds that Xcode uses to pull the documentation from online are:

    Each feed links to ".xar" files (Extensible Archive), which you can download and expand yourself using the XAR unarchiver. It expands into a .docset bundle, which you can pop open and browse yourself. The main index.html file is at Contents/Resources/Documents/index.html