Mac OS: git was broken after last update

Problem:

~ % git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

How to fix (worked for me):

run next commands in the terminal

xcode-select --install
sudo xcode-select --reset

Done.

Leave a Reply

Your email address will not be published. Required fields are marked *

6  +  1  =  

Skynin cache:
Array ( [cache mode] => capture [requestKey] => 876c1f4ab2419150635cc2ff1aff690579.sc [skycache_disable_capture] => false )