Upgrading macOS: Fix Invalid Active Developer Path
After upgrading to Catalina (and originally Mojave), I ran git pull
and saw this terrible error.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Fortunately, this is easy to fix. Read on.
Posted in these interests: