【发布时间】:2014-03-27 06:35:13
【问题描述】:
以前有人问过这个问题,但没有解决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,但问题仍然存在。
【问题讨论】:
-
解决方案对我有用
标签: ruby-on-rails xcode gcc xcrun