Skip to main content

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun


Today I updated my Mac to OS Sierra, and when I opened Android Studio, I was getting an error about Git configuration

So I went to Preferences/Git, and I make sure the path to git executable was working by clicking on the Test button, and that's when I got this error : 

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

I figure I'd post this in case someone else runs into the same situation.

The solution:
 xcode-select --install


Happy coding!

Comments