Switch between different versions of Xcode and the included developer…
Switch between different versions of Xcode and the included developer tools. Also used to update the path to Xcode if it is moved after installation.
xcode-select --install
xcode-select -s {{path/to/Xcode.app/Contents/Developer}}
xcode-select -s {{path/to/Xcode.app}}
xcode-select -p
sudo xcode-select -r