安装命令行工具Xcode 5 [英] Installing command line tools Xcode 5
问题描述
我已经尝试和尝试(看了很多标题为此),我仍然没有我的问题的答案。我试图安装Pebble SDK 1.12并安装Xcode 5的命令行工具。
I have tried and tried (looked at many headings for this) and I still don't have an answer to my problem. I am trying to install the Pebble SDK 1.12 and install command line tools of Xcode 5.
每次我尝试xcode-select --install在终端我得到安装软件,因为它目前在软件更新服务器中不可用
Everytime I try xcode-select --install in terminal I get "Can't install software because it is not currently available in the Software Update server"
我试图重新安装Xcode,但没有工作。
当我到Xcode-preferences-downloads没有一个命令行工具的部分。
I have tried to reinstall Xcode and that didn't work. When I got to Xcode-preferences-downloads there isn't a section for the command line tools.
我也试过从开发者网站安装它们,但没有效果。下载看起来是正确的,然后我去Xcode看到首选项和命令行工具没有列出。
I have also tried installing them from the Developer site but to no avail. The download looks correct and then I go to Xcode to see the preferences and the command line tools aren't listed.
任何您可以建议的内容?
Anything you all can suggest?
推荐答案
在OS X 10.9 ,与$ OS X 10.8不同,命令行工具
组件不再出现在Xcode 5的首选项
窗格中。此外,当当前安装的命令行工具
是一个错误时,当前不可用
已经更新。如果你有一个填充的 / usr / include
目录和 / usr / bin / cc --version
你可能很好。
On OS X 10.9, the Command Line Tools
component no longer appears in the Preferences
pane for Xcode 5, unlike on OS X 10.8. Also, the not currently available
message appears to be a bug in OS X 10.9 when the currently installed Command Line Tools
are already up-to-date. If you have a populated /usr/include
directory and /usr/bin/cc --version
gives you something, you're probably fine.
这篇关于安装命令行工具Xcode 5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!