How to compile with Command Line Tools for Xcode after deleting the Xcode.app application bundle?
Solution 1:
If you now only have the Command Line Tools for Xcode installed and having deleted the Xcode.app application bundle, then you need to run the following command in Terminal to use the Command Line Tools for Xcode.
xcode-select -switch /Library/Developer/CommandLineTools