zeroday
V2EX  ›  问与答

brew doctor 提示更新 xcode-select version 2003,要怎么解决呢?

  •  
  •   zeroday · Mar 28, 2014 · 3652 views
    This topic created in 4521 days ago, the information mentioned may be changed or developed.
    brew doctor提示“Warning: A newer Command Line Tools release is available
    Update them from Software Update in the App Store.”
    google了更新方法,从developer.apple.com/downloads下载了commandline_tools_os_x_mavericks_for_xcode__march_2014.dmg安装,还是xcode-select version 2003。
    请问要怎么更新xcode-select呢?

    另外还有一个问题,
    Warning: You seem to have osx-gcc-installer installed.
    Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
    is an unlicensed distribution of really old Xcode files.
    Please run `xcode-select --install` to install the CLT.
    输入"xcode-select --install"只会提示帮助信息。
    已经在搜索引擎上查找过了,还是不能解决了,只好在这发帖求助了。
    2 replies    1970-01-01 08:00:00 +08:00
    hzlzh
        1
    hzlzh  
       Mar 28, 2014
    重新安装 command line tools
    zeroday
        2
    zeroday  
    OP
       Mar 28, 2014
    @hzlzh

    $ xcode-select --install

    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
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   957 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 22:05 · PVG 06:05 · LAX 15:05 · JFK 18:05
    ♥ Do have faith in what you're doing.