For reset Xcode to factory settings in the logged-in user, run these commands in Terminal:
> defaults delete com.apple.Xcode
> rm -rf ~/Library/Application\ Support/Xcode
At one point in the process it opted to remove the Xcode developer tools and start the configuration from the beginning. Which leads to the tip: should you ever find the need to remove Xcode, run the following from within a terminal window to make it happen:
> sudo
The post Uninstall/Resetting Xcode appeared first on Notes of a Developer.