Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you uninstall the OSX documentation in XCode 4?

Tags:

I have installed the iOS documentation in XCode 4, but I don't want the OSX documentation. Is it possible to remove it or choose not to install it?

On machine I keep hitting cancel to the install dialog that pops up randomly for the OSX docs but this is annoying. On my other machine I did install the OSX documentation but I really want to uninstall it as it just clogs up the documentation browser with mostly duplicated information.

Thanks

like image 200
Ian1971 Avatar asked Apr 05 '11 14:04

Ian1971


People also ask

How do I completely remove Xcode from my Mac?

The first step to uninstalling Xcode from your Mac (and deleting its residual files) is to move the app itself to the macOS Bin. Launch Finder and click Applications on the right sidebar. Right-click on the Xcode icon and select Move to Bin on the context menu. That will immediately uninstall Xcode from your Mac.

How do I uninstall Xcode beta from my Mac?

Here are the steps that you need to take to uninstall Xcode on Mac: Go to your Applications folder. Drag the Xcode icon to your trash. Clean up your Trash bin.

Why does Xcode take so much space?

Xcode is itself a large, complex app; it contains many other large, complex apps like Instruments and iOS Simulator; it includes many large, complex tools like the compilers; it packages up SDKs with tons of detailed data about every declaration in every supported Apple OS; and it includes several simulator runtimes, ...


2 Answers

You can easily hide the OS X doc sets from the documentation browser without uninstalling them. In the Xcode 4 documentation browser, click the little arrow next to the magnifying glass in the search box and select Show Find Options. Then deselect from the Doc Sets popup all the items you are not interested in (namely, Mac OS X 10.6 Core Library).

like image 158
Ole Begemann Avatar answered Nov 04 '22 16:11

Ole Begemann


You can uninstall documentation by simply dragging it to the trash in the Finder. It's located in this folder:

iPhone: /Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets Mac OS: /Developer/Documentation/DocSets

I wanted to do this to free up disk space on a small laptop HD.

like image 35
Tim R. Avatar answered Nov 04 '22 17:11

Tim R.