如何在OSX Mavericks中安装Xcode 5.0.2的命令行工具?

时间:2014-03-15 19:03:24

标签: c++ xcode macos osx-mavericks

我需要安装命令行工具,以便能够编译Node C ++的东西。

Using xcode-select

尝试使用

xcode-select --install

产量

enter image description here

Looking in Xcode's Preferences, Downloads

尝试访问Xcode中的“下载”面板

Version 5.0.2 (5A3005)

产量

enter image description here

(没有安装命令行工具的选项)

我该怎么安装这些工具?手动安装它们无济于事

1 个答案:

答案 0 :(得分:0)

两条可能的路径。

1)

使用"地点" Xcode首选项中的窗格。你正在寻找这样的东西:

Command Line Tools Path in Xcode

2)

您可以从Apple's website下载工具:

Download the tools from Apple's website

有趣的是,命令行工具的描述列出了 date ,但不是兼容的Xcode版本。因此,我打开披露三角形的那个可能就是你想要的那个。