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

preview_player
Показать описание
In short, Git is not working after macOS Update.

What happened? When I tried to use git command line tool, I faced this error:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

The error means that the xcode command line tools are not installed on this mac or need an update. This error occurs after almost every mac OS update / upgrade.

The fix for this error problem is to install xcode tools by this command:
xcode-select --install
after that accept the privacy policy and terms & conditions, then wait until the XCode tools installed on your system. That's it.
Рекомендации по теме
Комментарии
Автор

You are simply a God! It worked! I was trying to fix this problem after a software update in my MacBook and finally eclipse is working just fine! You're awesome!!!

foivoskyrgios
Автор

Salvou meu dia "Pica das Galáxias"!!!

wilsonf
Автор

Bro if this worked I will give you 1000 rs

gaganbaghel
visit shbcf.ru