
Opening up a terminal and trying to pull a git repo this morning gave me the following error:
seth@MBP13 ~ % git status
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
After searching I found the following fix that worked for me:
https://stackoverflow.com/questions/52522565/git-is-not-working-after-macos-update-xcrun-error-invalid-active-developer-pa
xcode-select --install
It seems to be an effect of MacOS and XCode updates being handled separately. I would guess that my laptop recently updated, breaking the XCode install. I remember having experienced this in the past, and I’m still shocked that this behavior in MacOS hasn’t been improved.