升级mac系统后的git报错问题

升级了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

参考链接:https://www.jianshu.com/p/50b6771eb853


版权声明:本文为pangjiaming99原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。