Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

safetyobc

macrumors 6502
Original poster
Sep 6, 2007
480
27
Arkansas
Hello,

I would like to remove XCode and the developer files from my computer. I don't use them and could use the free space. I'm assuming it won't hurt anything to remove these files? Also, what's the best way to do this.

Thanks
 
Go to the /Developer folder and read the file About Xcode.pdf. It has the full instructions on how to remove Xcode.
 
Thanks.

I also have a folder called developer and developer old. Will those instructions to remove them be there as well?
 
You get developer-old when you install the new xcode 4 and xcode 3 is still present. Check for removal instructions in the PDF that should be there as well.
 
Umm, I googled this and found a terminal command that erased the developer files. So I can't access the .pdf noW
 
I believe you can just delete that folder and it's contents, or you can do the same instructions:

Uninstalling Xcode Developer Tools
To uninstall Xcode developer tools on the boot volume along with the <Xcode> directory, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=all
To remove the underlying developer content on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=systemsupport
To just remove the UNIX development support on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=unixdev
Finally, to just uninstall the <Xcode> directory you can simply drag it to the trash, or from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=xcodedir
 
No it didn't. Not that I could tell anyway. I've handed the laptop down to my oldest son who then handed down to my younger son. He plays Minecraft on it and does his school work with it almost daily.
 
Wow, oldie but a goodie. Xcode is distributed differently these days -- all files are in the Xcode.app bundle in /Applications instead of being in /Developer. That terminal command won't do anything anymore. So now to remove Xcode just drag Xcode.app to the trash and empty the trash.
 
After migrating from old OS's I am looking how to safely delete the Developer folder. Can I just drag the folder to trash?
I have no Xcode App in Apps folder. There 'appears' (to my unknowing eye) to be nothing but junk in the Developer folder. The Folder path shows only folders for:
Developer > Extras > Palettes > QTKit.palette > Contents >
Contents folder has:
Info.plist <?xml version="1.0" ...
version.plist <?xml version="1.0" ...
MacOS (folder) > QTKit 'exec' 8/26/09
Resourses (folder) > English.lproj & palette.table & QTCaptureViewIcon.tiff & QTKitPalette_Prefix. &
[well here's a screen shot...]
 

Attachments

  • Developer.pdf
    47.5 KB · Views: 128
After migrating from old OS's I am looking how to safely delete the Developer folder. Can I just drag the folder to trash?
I have no Xcode App in Apps folder. There 'appears' (to my unknowing eye) to be nothing but junk in the Developer folder. The Folder path shows only folders for:
Developer > Extras > Palettes > QTKit.palette > Contents >
Contents folder has:
Info.plist <?xml version="1.0" ...
version.plist <?xml version="1.0" ...
MacOS (folder) > QTKit 'exec' 8/26/09
Resourses (folder) > English.lproj & palette.table & QTCaptureViewIcon.tiff & QTKitPalette_Prefix. &
[well here's a screen shot...]

You can safely delete /Developer if the instructions in post #6 don't work (note: "<xcode>" is "/Developer" in most cases.)
 
You can safely delete /Developer if the instructions in post #6 don't work (note: "<xcode>" is "/Developer" in most cases.)
Talmy,
I don't know what the references found in Spotlight search are, but I can find no Xcode 'App'. Attached is the entire Xcode Spotlight search, but if you choose not to open it, the first hits are:
xcode-select
XcodePlugin.pbproj
CocoaStaticLibrary.xcode (plus 11 other folders found)

I obviously don't want to do anything in Terminal that I am unclear on. Even though I find no Xcode app, would your terminal command #(1) from your post #6 still clear out the junk found in Spotlight search and be a good thing to do? Or in my case, should I just trash the Developer folder and call it good (enough)?

"Uninstalling Xcode Developer Tools
To uninstall Xcode developer tools on the boot volume along with the <Xcode> directory, from a Terminal window type:
(1) $ sudo <Xcode>/Library/uninstall-devtools --mode=all
To remove the underlying developer content on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
(2) $ sudo <Xcode>/Library/uninstall-devtools --mode=systemsupport
To just remove the UNIX development support on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
(3) $ sudo <Xcode>/Library/uninstall-devtools --mode=unixdev
Finally, to just uninstall the <Xcode> directory you can simply drag it to the trash, or from a Terminal window type:
(4) $ sudo <Xcode>/Library/uninstall-devtools --mode=xcodedir"

Thanks for your help.
Dave
 
There's actually nothing in those instructions for deleting Xcode.app -- the instructions are for the older versions, like you have installed. Just deleting /Developer is really good enough.
 
Talmy,
I'll just delete the Developer folder then. Any reason for me to stay out of Terminal is a good thing! ;)
Big thanks.
Tally-Ho
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.