The new Xcode is .app and all the package contents are with it, inside the applications folder. Can I just delete /Developer?


You can delete this folder. The new /Developer is located in /Applications/Xcode.app/Contents/Developer, so /Developer can be deleted.

  • keep in mind that there may still exist some older build scripts which look for the Developer tools like xcodebuild in /Developer. The simplest way to go around errors caused by this is to symlink /Applications/Xcode.app/Developer to /Developer.
    – konqui
    Jul 13 '14 at 5:34
  • 1
    The suggestion above is horrible, especially in this case as it aims to support legacy structure that is now obsolete. Altering files in .app directories breaks code signing (can test using code sign) and is reversed upon upgrading the package anyway.
    – user10355
    Jul 14 '14 at 18:10

As of Xcode 4.3, the /Developer directory is no longer needed.

See: https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_4_3.html#//apple_ref/doc/uid/1006-SW1


Xcode prior to 4.3, which is when Apple transitioned to a single repackaged .app for their developer tools, also shipped with an uninstall-devtools command line utility. It takes a look at any receipts of Xcode installs on your system and reports that it's removing things like caches, as well. Invoke as:

sudo /Developer/Library/uninstall-devtools

to do a complete removal of all pre-4.3 Xcode remnants on your system.

  • 1
    Note that this does affect certain components required by >4.3
    – grg
    Jul 14 '14 at 18:16
  • @grg So if you ran this on or after 4.3 - you should reinstall to get the tools needed? (or perhaps they cache data in the same places, so your cached data from newer Xcode would be removed?)
    – bmike
    Jun 18 '19 at 11:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .