Jul 17, 2010
Completely Uninstall XCode And Developer Tools
If you’re running into troubles with your XCode installation or Developer Tools and like to reinstall the whole thing, you should enter the following command in your Terminal application to uninstall the whole developer package:
sudo /Developer/Library/uninstall-devtools –mode=all