macOS升级10.15 Catalina出现missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 的解决办法
升级macOS 10.15 Catalina后,执行git clone 操作出现下面的错误
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
从错误可以看出是缺少Command Line Tools,在terminal中执行下面的命令安装即可
xcode-select --install