之前还能用git ,今天用git 出现:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方案:
在终端输入:xcode-select --install
会显示正在下载和安装软件,安装完成后,便可以执行了
亲测有效哦
之前还能用git ,今天用git 出现:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方案:
在终端输入:xcode-select --install
会显示正在下载和安装软件,安装完成后,便可以执行了
亲测有效哦