25 Feb
After Installing Safari 4 beta yesterday, I noticed that Xcode started crashing on every run. Even when I uninstalled the Safari beta, the problem didn’t resolve. So I uninstalled Xcode completely and then reinstalled it. To uninstall developer tools/Xcode type in the following command in the terminal
sudo /Developer/Library/uninstall-devtools –mode=all
But beware, this completely removes Xcode and once it is gone, it’s gone. Of-course you can always reinstall it. So be sure of what you are doing.
Update: Many users are also complaining about the same issue about Xcode crashing after installation of Safari 4 beta. Solution is to install Xcode 3.1.2.

| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Aug | ||||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |

16 Responses for "How To Uninstall Xcode Completely"
Thanks for making this available in your blog. Found it quick and easy from a google search! Great post.
i tried to uninstall xcode using the command in the terminal, however, i get a message saying “command not found”
to add to my frustration, i just put Leopard on my Imac. I then launched what i thought was xcode 3.0 only to find out that it was xcode 2.1. So i then tried to install xcode 3.0 over that and it will not launch. If anyone could help me with this issue, I would greatly appreciate it.
Make sure that that you copy paste the exact command in the terminal window. That should uninstall any version of Xcode. After that you can install a fresh copy of it.
Thanks for posting this. I had been trying to uninstall for over 10 minutes and kept getting a “command not found” message. I googled and found this post. Turns out I was missing the forward slash at the start of the directory name.
Exactly what I was looking for. Of note, if you’ve installed Xcode to a non-default location, you’ll (obviously?) need to change ‘/Developer/’ above to the path where you installed the developer tools to. In my case, it was ‘/Volumes/Dev/Developer/’.
Exceptional tip. Thanks for this. I had to strip out the Xcode naughtiness I had done and reinstall fresh. Works perfectly. Merry Christmas to you!
I’m still getting command not found after pasting the line directly from this site.
I suspect the problem may be that my Developer folder does not actually contain a library folder. Do you have any suggestions?
Hey dude, thanks for the tip but.. when i’m tried to copile in C languaje the terminal send me a error message like this: gcc it’s not a valid command. Can you help me please?
I almost forgotten ask you if you know about a software in mac for programing on C languaje of curse something that not be the terminal ^^
P.S. i’m sorry if my english isn’t good but… i only have a basic level in english
Hi Charles,
Eclipse is a good IDE for C programming on mac. Here is the link:
http://www.eclipse.org/downloads/
Hi Mark
You will have to see where you installed Xcode and then instead of Developer/Library write that path name in the command.
Thanks you i found the problem i only reinstall xcode was easy ^^
Thanks, latest XCode doesnt like compiling for older iPhone OS versions, now I reinstalled XCode 3.2.2
Thanks for this post. It was easy and fast to uninstall xcode completely.
Hi,
I am a beginner C programmer and am new to xcode. I am using the book “Learning C on Mac” and in that book, it tells me to use the standard tool from the command line utility to create the first program. The problem is that I have xcode 3.2.3 and in that version there command utility can’t be found int the sidebar and thus no standard tool. So, I uninstalled using the this method and I assumed that I successfully got rid of it cause I searched for it in finder and nothing showed up. I didn’t restart and I re-installed it.
How do I get the command line utility?
The command line is the ‘Terminal’ application in your Mac. You can find Terminal in you Mac by going to Applications >> Utilities. No need to uninstall XCode for that!
Leave a comment
Your email will never be published/shared.