gpt4 book ai didi

c++ - 如何在 OSX Mavericks 中为 Xcode 5.0.2 安装命令行工具?

转载 作者:太空宇宙 更新时间:2023-11-04 13:53:49 25 4
gpt4 key购买 nike

我需要安装命令行工具,以便能够编译 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)

使用 Xcode 首选项中的“位置” Pane 。您正在寻找这样的东西:

Command Line Tools Path in Xcode

2)

您可以从Apple's website 下载工具。 ,它的位置:

Download the tools from Apple's website

有趣的是,命令行工具的描述列出了一个日期,但不是兼容的 Xcode 版本。所以我打开的三角三角可能就是你想要的那个。

关于c++ - 如何在 OSX Mavericks 中为 Xcode 5.0.2 安装命令行工具?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22428367/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com