原因与解决
系统更新后XCode不兼容需要重新安装
$ xcode-select --install
报错提示内容
$ git status
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
系统更新后XCode不兼容需要重新安装
$ xcode-select --install
$ git status
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun