如何更新Xcode以安装"UNIX开发支持"? [英] How to update Xcode to install "UNIX Development Support"?
问题描述
很久以前我安装了Xcode.
I installed Xcode a long time ago.
显然,我没有再选择"UNIX开发支持"复选框.
Apparently I didn't check back then the "UNIX Development Support" checkbox.
现在我想拥有它们,但是当我单击安装时,将显示以下内容:
Now I want to have them but when I click on the installation this is what appears:
UNIX开发支持复选框已禁用
问::如何安装UNIX开发支持?有没有一种方法可以运行一些脚本,以创建从/Developer/
到/usr/bin
的所有必需链接?
Q: How can I install the UNIX Development Support? Is there a way to run some script that creates all the needed links from /Developer/
to /usr/bin
?
注意:这是针对旧的Xcode 3的.Xcode4("Unix命令行工具")的屏幕和工具名称有所不同
Note: This is for old Xcode 3. Screens and tool names differ for Xcode 4 ("Unix Command Line Tools")
推荐答案
最后.
我必须从苹果网站下载最新版本的Xcode 3(3.2)以及iPhone SDK.我将不会在近距离功能中使用它.
I had to download from Apple's website the latest version of Xcode 3 (3.2) along with the iPhone SDK that I won't use in the near feature.
这一次启用了"UNIX开发支持":
This time the "UNIX Development Support" was enabled:
所以现在我可以从命令行进行编译了!
So now I can compile from the command line!
这篇关于如何更新Xcode以安装"UNIX开发支持"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!