升级了mac系统后,当使用git的时候报错了:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方法,重装xcode command line:
xcode-select --install
本文解决了一个常见问题:升级Mac系统后使用Git遇到的错误。错误信息为xcrun:error:invalidactivedeveloperpath。文章提供了解决方案:重新安装Xcode命令行工具,并给出了具体命令xcode-select--install。
升级了mac系统后,当使用git的时候报错了:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方法,重装xcode command line:
xcode-select --install
2724
1471
880
842

被折叠的 条评论
为什么被折叠?