V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
zeroday
V2EX  ›  问与答

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

  •  
  •   zeroday · 2014-03-28 15:50:02 +08:00 · 3207 次点击
    这是一个创建于 3882 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 条回复    1970-01-01 08:00:00 +08:00
    hzlzh
        1
    hzlzh  
       2014-03-28 16:38:08 +08:00
    重新安装 command line tools
    zeroday
        2
    zeroday  
    OP
       2014-03-28 17:34:35 +08:00
    @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
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1055 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 19:53 · PVG 03:53 · LAX 11:53 · JFK 14:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.