How to: Remove Xcode

I came up against a bit of an issue today, I realised my Xcode was stuck on version 4.1 and the AppStore wasn’t detecting the update available to v4.2. Now normally this wouldn’t be an issue, however version 4.1 doesn’t include the iOS 5.* SDK’s.

So I decided the only way around the issue, would be to completely remove the old version, then install the fresh version 4.2 straight from the AppStore.

This seemed to do the trick for me:

  1. Open Finder
  2. Open the Utilities folder
  3. Open a terminal window
  4. Copy and paste the following line in:
  5. Press return
  6. When prompted, enter your password
  7. Press return

Xcode should then eventually uninstall. This may take some time depending on the speed on your machine.

Mike Hudson

Mike Hudson is a Infrastructure Analyst living and working in Kingston Upon Hull. With extensive experience in Microsoft and Apple technologies, ranging from desktop OS’s to Server OS’s and hardware. By day working as part of an infrastructure team, and by night ridding the world of IT issues through blog posts..

  • Jay Dee

    Thanks! This worked good on updating.

    I need help with one thing for mac, though: I installed a game from Steam but made the foolish mistake of clicking Add Icon To Applications. Now on Launchpad, it’s stuck, undeletable and nowhere to be found, not even when hidden files are shown. Can you help me?

%d bloggers like this: