I\'m using the XCode 4.2 beta (build 4D199) on Lion, and can\'t access the Developer Documentation in XCode 4.2 anymore. When I attempt to log-in, I get a pop-up telling me the
As other commenters have stated you should be able to fix these problems by downloading the documentation again. However, given that a complete set of iOS & MacOS documentation clocks in at around 2.0GB here is an alternative method that avoids re-downloading.
Jump to the documentation folder:
cd /Library/Developer/Shared/Documentation/DocSets
Recurse through all the documentation sets and set the current user as the owner:
for f in *.docset; do sudo chown -R $USER $f; done
Unlock the documentation sets:
for f in *.docset; do SetFile -a l $f; done
N.B. Your documentation path may be different (check ~/Library/...
), you should make sure that $USER
is correctly set to your username, you will need the root password