Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I recently upgraded to MAC OS 10.8 but I observed the following folders in /Developer/SDKs:

  • MacOSX10.5.sdk
  • MacOSX10.6.sdk

I googled and found out that I should run sudo /Developer/Library/uninstall-devtools --mode=all. However I just forgot the --mode=all and now I still have those SDK folders but the uninstall-devtools script has gone. I also have installed XCode 4.5.2 but it seems that it does not come with any command line tool called uninstall-devtools. So how can I get rid of the old SDKs?

share|improve this question
add comment

1 Answer

The installer for Xcode 4.3 had an option for removing older versions of Xcode which removed /Developer/.

You can probably just delete the folder completely. It was possible to delete single developer folders even before Xcode 4.3. From an answer by Chris Espinosa on Stack Overflow:

If you have multiple Developer folders, you can drag any of them to the trash without damaging the others. Developer folders are completely standalone.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.