I have Xcode 4.0.2 and 3.2.5 both installed on my macbook. How do I uninstall the older version without uninstalling the newer version?
The first step to uninstalling Xcode from your Mac (and deleting its residual files) is to move the app itself to the macOS Bin. Launch Finder and click Applications on the right sidebar. Right-click on the Xcode icon and select Move to Bin on the context menu. That will immediately uninstall Xcode from your Mac.
You can download old versions of Xcode and install them on the side of the latest one. So you can just choose which version you want to launch depending on your situation.
To answer my own question YES its completely safe to delete ~/Library/Developer folder if you plan to completely remove your existing Xcode and install a new version.
sudo <Xcode>/Library/uninstall-devtools --mode=all
where <Xcode>
is the path to the Developer folder (the one with 'Xcode 3.2.5' in it) This won't affect the 'Xcode 4.0.2' installation since it's in a completely different folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With