Xcode is a better or a development environment that is used to create applications for different platforms from Apple (OSX notebook and desktop, iOS for mobile devices), and you can find it among the software supplied with the operating system starting with version 10.3 ” Panther “.
Xcode works in symbiosis with other programs that serve content in the development environment to design graphical user interfaces of applications (Interface Builder) and compile code in C, C+, Objectvice C and Java (GCC).
Although it is an application bundled with OSX cannot uninstall it by acting as usual for a user ” Mac “, or simply dragging the application icon from the Applications folder to the trash, we need to use the terminal. Let’s see how you can remove Xcode from our Mac.
1.) The first step is, as mentioned earlier, open in terminal going in the ” Applications ” folder, then ” Utilities ” and finally clicking on the ” Terminal.” Once we became our terminal type the following command :
sudo /Developer/Library/uninstall-devtools –mode=all
This command will provide us with administrator privileges there will be prompted for the password of the account created with the first use of the system. Once inserted just type ” enter ” to start the removal process of Xcode that, according to your system, it will take 2 to 5 minutes. When the removal is finished it is advisable to also delete the directory that Xcode find in the ” Applications ” folder in such a way to free up quite a bit of space in our hard disk (almost 2 Gb).
2.) If we did not want to eliminate all the Xcode development environment, but only parts of which we do not need, we can proceed as follows, always using the terminal as seen above but slightly changing the controls.
” Dev-Tool ” – To remove the directory advanced development must type the following command :
sudo /Developer/Library/uninstall-devtools –mode=unixdev
” Directory of development and content ” – To remove the directory development and content, you can run:
sudo /Developer/Library/uninstall-devtools –mode=xcodedir
” Support System ” – To remove the Directory Support System you have to give the command:
sudo /Developer/Library/uninstall-devtools –mode=systemsupport
3.) If you are average users and do not use your Mac to develop applications, remove the Xcode integrated development environment will allow you to recover different jig that you can use at your leisure ..