ruby-on-rails – 更改Xcode的活动开发人员路径
发布时间:2020-12-16 20:00:39 所属栏目:百科 来源:网络整理
导读:这个问题以前是问过的,但是还没有解决 here. 我已经尝试了解决方案here,但并不能解决问题. 我得到这个错误: xcrun: error: active developer path ("/Applications/Xcode 2.app/Contents/Developer") does not exist,use xcode-select to change 活跃的开发
这个问题以前是问过的,但是还没有解决
here.
我已经尝试了解决方案here,但并不能解决问题. 我得到这个错误: xcrun: error: active developer path ("/Applications/Xcode 2.app/Contents/Developer") does not exist,use xcode-select to change 活跃的开发人员路径不应该说“Xcode 2.app”,而是“Xcode.app”. 我的问题是:如何更改活动路径来说“Xcode.app”? 我已经尝试过以下内容: $> xcode-select -switch /Applications/Xcode.app/Contents/Developer $> xcode-select -print-path /Applications/Xcode.app/Contents/Developer 我已经尝试重新安装Xcode,但问题仍然存在. 解决方法
您是否尝试使用sudo命令以root身份执行switch命令?
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
热点阅读