Archive for the ‘IOS Dev’ Category

How to remove Xcode4

October 13, 2011 Leave a comment

Today, I was upgrading my Xcode4.1 to Xcode4.2, some how I had to shutdown the Macbook for a while. After I turned on my Macbook again, the Xcode doesn’t let me upgrade again. I had to remove the Xcode completely and reinstall the Xcode4.2. Just in case who will have the same situation as I had and not sure how to remove Xcode4 completely, here is how:

Search “terminal” at the top right corner of your machine, type the following command in the console:

sudo <XcodePath>/Library/uninstall-devtools --mode=all 

<XcodePath> is the path where your Xcode Dev tools installed. It’s usually


So the full command would be:

/Developer/Library/uninstall-devtools --mode=all


Categories: IOS Dev Tags: ,