Uninstall XCode and OSX Developer Tools

Open the Terminal.app and execute the following command:

sudo /Developer/Library/uninstall-devtools –mode=all