mac使用git报错xcrun: error: invalid active developer path


mac使用git突然报错,结果如下:

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






解决方案:

xcode-select --install





猜你喜欢

转载自blog.csdn.net/u010358304/article/details/78614795