Reputation: 3716
Since I installed XCode 4.6, it keeps on downloading the Doc Set each and every time I open it. I've seen a lot of threads talking about this topic, so I tried to manually install the doc set in the Developper/Shared/Documenation/Docsets folder. But even with that, I opened XCode this morning and.... it started downloading the thing again. What can I do to make it stop ?
Upvotes: 12
Views: 4867
Reputation: 339452
As the other answers suggest, Xcode is merely detecting, downloading, and installing new versions of the documentation available on the Apple servers.
As pablok said, if you don't like this behavior, disable the behavior by unchecking Xcode > Preferences > Downloads > Documentation > Check for and install updates automatically
.
One interesting twist is that the old versions are stored inside Xcode.app while the fresh downloaded versions are stored outside the app.
For example, in Xcode 4.6.3 on Mountain Lion obtained from the developer.apple.com iOS Dev Center, the Xcode 4.6 doc set
is bundled with the Xcode app. That bundled doc set, according to the Finder, is:
The newly downloaded doc set is:
So, two mysteries:
As an experiment, someday I will delete the original ones inside the app. I'm not suggesting any benefit (other than recovering storage space) nor am I saying there is no adverse effect.
Upvotes: 4
Reputation: 651
Click the link under Xcode->Preferences Click on Xcode 4.6 doc set you will see an installed location. click on that link and delete the file. In my case there was another Xcode 4.6 file I think it was called Xcode 4.6 Documentation set I deleted that as well.
I closed XCode and opened up again the told it to download it again and it took.
You should only have one Xcode 4.6 file in your list I had two and I don't know why. Might be something left over from the 4.6 beta.
Hope it help
Upvotes: 13
Reputation: 121
Go to the "Xcode->Preferences->Downoloads" and unselect the check mark under "Check for and install updates automatically" in the "Documlentation" tab.
Upvotes: 12