I\'m having xcode issues when I try to use brew and git:
xcrun: error: active developer path (\"/Applications/Xcode.app/Contents/Developer\") does not
I had the same problem and had to remove completely Developer tools, and reinstall:
$ rm -rf /Library/Developer/CommandLineTools
$ xcode-select --install
Tip: because Xcode had been improperly uninstalled, I had to manually (re)move the Xcode app, too:
$ mv /Applications/Xcode.app/ /Applications/Xcode.app.bak