Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AC910

macrumors member
Original poster
Jul 10, 2016
95
86
What this is:

This is an updated DocSet database file that fixes the URL paths in the XCode developer documents for Leopard. These will correctly point to the correct URLs as Apple relocated all leopard documentation sometime in the past few years and now return a 404 when accessed from XCode. Over 1100 document URLs have been updated.

Who this is for:

This is for developers using XCode on Leopard. General users will not benefit from this at all.

Download Link:

Release 0.1 - 4/15/2020

Install Instructions:

  1. Download and extract the file
  2. Bash:
    sudo cp docSet.dsidx /Developer/Documenation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/
  3. Restart Xcode. Enjoy


Other Notes:

The database is just a normal sqlite DB. Easily accessible. Thankfully Apple made the change easy to automate so a quick sql statement did the work. The technotes couldn't be updated as they don't follow a predictable url scheme as the samplecode and documentation follows.

Also it would be possible to scrape the apple website and generate a local version of the documents. Sadly this isn't as trivial as just wget'ing the files and dropping them in a folder. Apple uses a javascript to fetch the document contents dynamically. So one would have to run the javascript to fetch the content. Export a properly formatted HTML page and make sure all assets are downloaded as well. Absolutely possible but a pain and time consuming.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.