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

osx10.11.3 git xcrun: error: invalid active developer path

2016-08-16 10:18 267 查看
早上git更新  发现错误如下

xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)

想了想是因为周末要下载个大点的游戏  磁盘不够 就顺手给xcode卸载了  网上找的没个管用的  都是让你装上xcode 不废话了 
sudo xcode-select --reset
xcode-select是xcode的一个插件  不想要直接卸了就行  标准卸载的时候是不会删除这个插件的  执行 完事 搞定 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐