版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/pangjiaming99/article/details/85090615
升级了mac系统后,当使用git的时候报错了:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方法,重装xcode command line:
xcode-select --install