【问题标题】:xcode-select --install not runningxcode-select --install 没有运行
【发布时间】:2014-02-17 08:48:33
【问题描述】:

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

    xcode-select --install

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

    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

为什么?怎么了?

感谢您的帮助!

【问题讨论】:

    标签: macos installation xcode5


    【解决方案1】:

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

    如果你的 Xcode 路径不是=/Applications/Xcode.app/Contents/Developer

    在终端修改

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

    【讨论】:

    • 粘贴并运行它终端在这里发布结果ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
    猜你喜欢
    • 2014-08-30
    • 2013-12-20
    • 2011-02-09
    • 1970-01-01
    • 2013-11-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多