How to install Xcode Command Line Tools

后端 未结 13 2076
無奈伤痛
無奈伤痛 2020-11-22 01:08

How do I get the command-line build tools installed with the current Xcode/Mac OS X v10.8 (Mountain Lion) or later?

Unlike Xcode there is no installer, it\'s just a

13条回答
  •  醉梦人生
    2020-11-22 01:34

    Here are links for Command Line Tools, located at Apple Developer Server. You may need an apple developer (Paid/Premium) account to access them. You can download current (stable and beta) Xcode Tools. (It does not need device verification. Just ensure your macOS and XCode Tool/SDK version while choosing your command line tool)

    Xcode 11

    • Xcode 11-GM Seed
      - (Command Line Tool (Xcode 11-GM Seed) - for macOS 10.14)

    Xcode 10

    • Xcode 10.2.1
      - (Command Line Tool (Xcode 10.2.1) - for macOS 10.14)

    • Xcode 10.2
      - (Command Line Tool (Xcode 10.2) - for macOS 10.14)

    • Xcode 10.1
      - (Command Line Tool (Xcode 10.1) - for macOS 10.14)
      - (Command Line Tool (Xcode 10.1) - for macOS 10.13)

    • Xcode 10
      - (Command Line Tool (Xcode 10) - for macOS 10.14)
      - (Command Line Tool (Xcode 10) - for macOS 10.13)

    Xcode 9

    • Xcode 9.4
      - (Command Line Tool (Xcode 9.4) - for macOS 10.13)

    • Xcode 9.3.1

    • Xcode 9.3
      - (Command Line Tool (Xcode 9.3) - for macOS 10.13)

    • Xcode 9.2
      - (Command Line Tool (Xcode 9.2) - for macOS 10.13)
      - (Command Line Tool (Xcode 9.2) - for macOS 10.12)
    • Xcode 9.1
      - (Command Line Tool (Xcode 9.1) - for macOS 10.13)
      - (Command Line Tool (Xcode 9.1) - for macOS 10.12)
    • Xcode 9.0.1
      - (Command Line Tool (Xcode 9.0.1) - for macOS 10.13)
      - (Command Line Tool (Xcode 9.0.1) - for macOS 10.12)

    • Xcode 9.0
      - (Command Line Tool (Xcode 9) - for macOS 10.12)
      - (Command Line Tool (Xcode 9) - for macOS 10.13)

    Once you've latest command line tool installed in your system, set it from Xcode Menu.

    (Xcode Menu Items) Xcode ▶ Preferences ▶ Location ▶ Command Line Tool ▶ Select appropriate command line tool

    enter image description here

提交回复
热议问题