Mac OS: xcrun: error: invalid active developer path, missing xcrun
I Got a Git Error Tyring to Run Git Commands after a Recent MacOS Update
I just updated my MacOS and when I did a git add or git commit i got a error saying the following
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Luckily I found a fast fix with reinstalling Xcode Toolkit.
xcode-select --install
if that does not work you need to force a reset.
sudo xcode-select --reset