您的位置:首页 > 运维架构

解决mac升级后,出现的 xcrun: error: invalid active developer path, missing xcrun 错误

2016-12-19 10:59 579 查看
最近升级了mac系统,然后接着写代码就出问题了。



报错信息如下:

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




查了大量资料都推荐重新安装xcode,用如下命令:

$ xcode-select --install

[/code]

但是我用了这条命令也没法,然后又找到以下命令,直接删除了重新安装。

If you installed the command line tools separately, delete them using:

$ rm -rf /Library/Developer/CommandLineTools

[/code]

来自为知笔记(Wiz)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐