Solution: xcode-select --install
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.
Auf dieser Seite können Sie das Online-Video xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun-Mac mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer DevOps Studio 12 August 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 867 Mal angesehen und es wurde von 20 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!