liuhui725
V2EX  ›  macOS

现在 Xcode 自带 Command Line Tools ?

  •  
  •   liuhui725 · Jul 24, 2015 · 4327 views
    This topic created in 3983 days ago, the information mentioned may be changed or developed.

    现在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 replies    2015-07-27 17:37:00 +08:00
    way2exp
        1
    way2exp  
       Jul 26, 2015
    为了验证刚好装了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  
       Jul 27, 2015
    确实自带了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2588 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 04:51 · PVG 12:51 · LAX 21:51 · JFK 00:51
    ♥ Do have faith in what you're doing.