现在 Xcode 自带 Command Line Tools ?

2015-07-24 15:25:41 +08:00
 liuhui725

现在Xcode 自带Command Line Tools ?我记得以前不是自带的,在OS X 10.9的时候要用xcode-select --install安装,然后自己更新。但是现在听说Xcode已经在第一次下载安装的时候自己自动安装了。那为什么在Apple Developer还有那么多CML的版本(Xcode7 CML Beta...版本,Xcode6 CML 版本提供下载?),还有用xcode-select -p查看是指向/Applications/Xcode.app/Contents/Developer 而不是/Library/Developer/CommandLineTools。我试着指向/Library/Developer/CommandLineTools但是打开Xcode 在Locations位置的Command Line Tools 的位置显示空白?

3717 次点击
所在节点    macOS
2 条回复
way2exp
2015-07-26 17:54:44 +08:00
为了验证刚好装了xcode 6.2
没做配置看了一下我要多gcc,确实有了。楼主猜测是对的。

Last login: Sun Jul 26 16:00:00 on ttys000
MacBook-Pro:~ jams$ gcc --help
OVERVIEW: clang LLVM compiler

USAGE: clang [options] <inputs>。。。。。。。。。。。。。。。。
hemingway
2015-07-27 17:37:00 +08:00
确实自带了。

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

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

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

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

© 2021 V2EX