- Download the docset index XML.
- Find the docset you want (there are some with URL https://apple.com/none.dmg; ignore them - you will find them again further down the file with a working URL).
- Download the dmg. It's probably around a gigabyte or so.
- "Install" the .pkg file somewhere on your disk. If you don't trust the installer, do it manually:
- Find the largest file, named Payload, and extract it using The Unarchiver.
- This creates a new, even larger file, probably named Payload-1.
- Extract Payload-1 using The Unarchiver.
- After many minutes of extracting, we have our .docset file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Creates a complete class-dump of Xcode and all its libs and internal plug-ins. | |
# Assumes you have Class-Dump in your path and Xcode at the location set via `xcode-select`. | |
xcodeClassDump=${1:-"$HOME/Documents/XcodeClassDump"} | |
xcodePath=`xcode-select -p` | |
sourceXcodeRootPath="$(dirname "$xcodePath")" | |
echo "Dumping from Xcode: $sourceXcodeRootPath" |