I have installed the Command Line Tools:
$ xcode-select --print-path /Library/Developer/CommandLineTools
However, when anything tries to us
I know that this is a late answer, but in my case this command solved the issue:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer