解决Mac升级后使用Git出现的 xcrun: error: invalid active developer path, missing xcrun 错误

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_35624642/article/details/83031204

mac执行git命令时候出现:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

在终端输入:xcode-select --install

重装command line tools 就好了

猜你喜欢

转载自blog.csdn.net/qq_35624642/article/details/83031204