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

2014-03-28 15:50:02 +08:00
 zeroday
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"只会提示帮助信息。
已经在搜索引擎上查找过了,还是不能解决了,只好在这发帖求助了。
3207 次点击
所在节点    问与答
2 条回复
hzlzh
2014-03-28 16:38:08 +08:00
重新安装 command line tools
zeroday
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

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/106290

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX