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

来源:互联网 发布:复杂网络 matlab 编辑:程序博客网 时间:2024/05/30 02:23

你已经从 App Store 更新到了 OS EI Capitan 吗?
你是否突然在项目中得到如下错误?

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

如果是,这里是解决方法:
xcode-select --install

请记住,在 Mac 中 git 是依附在 XCode 的命令行工具上的

原文链接

阅读全文
0 0