在mac系统使用git报错。
问题描述:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方案:
在终端使用如下命令安装
xcode-select --install
然后直接安装即可。安装完毕后就可以重新执行前面的命令啦。
在mac系统使用git报错。
问题描述:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方案:
在终端使用如下命令安装
xcode-select --install
然后直接安装即可。安装完毕后就可以重新执行前面的命令啦。