升级mac Mojave系统,使用git出现xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

升级mac Mojave系统后 无法使用git,出现如下问题
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决
安装Command Line Tools,Command Line Tools是在Xcode中的一款工具
xcode-select --install

猜你喜欢

转载自www.cnblogs.com/fozero/p/10054168.html