V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
liuhui725
V2EX  ›  macOS

现在 Xcode 自带 Command Line Tools ?

  •  
  •   liuhui725 · 2015-07-24 15:25:41 +08:00 · 3699 次点击
    这是一个创建于 3222 天前的主题,其中的信息可能已经有所发展或是发生改变。

    现在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 的位置显示空白?

    2 条回复    2015-07-27 17:37:00 +08:00
    way2exp
        1
    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
        2
    hemingway  
       2015-07-27 17:37:00 +08:00
    确实自带了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2368 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:01 · PVG 23:01 · LAX 08:01 · JFK 11:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.