
error: active developer path ("/Applications/Xcode5-DP2.app/Contents/Developer") does not exist,use xcode-select to change 我尝试通过执行命令来更改此目录:
sudo xcode-select -switch /Applications/Xcode5-DP3.app/Contents/Developer
现在xcode有正确的路径,因为命令
sudo xcode-select -print-path
告诉我结果:
/Applications/Xcode5-DP3.app/Contents/Developer
但我仍然在终端看到相同的错误,见附件:https://dzwonsemrish7.cloudfront.net/items/120Z1S0b1Q302w3J453U/Screen%20Shot%202013-07-24%20at%2016.34.23.png?v=45e9961b
解决方法 它发生在我身上一次:xcode-select -print-path确实坚持相同的值并且没有改变.它似乎总是等于DEVELOPER_DIR环境变量.根据xcode-select的联机帮助页:When DEVELOPER_DIR is set,its value will be used instead of the value
last passed to -switch xcode_path
因此,取消设置DEVELOPER_DIR使xcode-select -switch正常工作.
总结以上是内存溢出为你收集整理的macos – xcode-select -switch不起作用:活动开发人员路径不存在全部内容,希望文章能够帮你解决macos – xcode-select -switch不起作用:活动开发人员路径不存在所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)