MacOS Xcrun Error
Did you get this error when running a git
command?
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
No problem! Just run this command to fix it (even if you've installed it before):
xcode-select --install
If that doesn't to completely solve the problem, also run this command:
sudo xcode-select --reset
All git
commands should now work. 🎉