macOs 版本:12.1
描述:今天git clone 报xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
后面找到原来是macOs升级导致 xcrun: error需要重新安装一下
xcode-select --install
安装好了,过后,重新git clone 就OK了