首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >xcode-select --安装未运行

xcode-select --安装未运行
EN

Stack Overflow用户
提问于 2014-01-26 23:23:03
回答 1查看 1.5K关注 0票数 1

我尝试在OS X 10.9.1上安装/更新Xcode5。来解决Homebrew的问题所以我试着:

代码语言:javascript
复制
    xcode-select --install

在论坛/谷歌,他们说它将开始安装,例如。here,但是我得到了:

代码语言:javascript
复制
    Usage: xcode-select -print-path
    or: xcode-select -switch <xcode_folder_path>
    or: xcode-select -version
    Arguments:
    -print-path                     Prints the path of the current Xcode folder
    -switch <xcode_folder_path>     Sets the path for the current Xcode folder
    -version                        Prints xcode-select version information

为什么?怎么啦?

感谢您的帮助!

EN

回答 1

Stack Overflow用户

发布于 2014-01-26 23:30:16

打印您的Xcode路径xcode-select -print-path

如果您的Xcode路径是not=/Applications/Xcode.app/Contents/Developer

在终端中更改它

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21365197

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档