[英]Xcode 5.0 Error installing command line tools
I just downloaded the last version for Xcode (5.0) and need it develop some Pascal codes on Lazarus. 我刚下载了Xcode(5.0)的最新版本,需要在Lazarus上开发一些Pascal代码。 However, the installation requires me to use command line tools, which have a problem downloading.
但是,安装需要我使用命令行工具,这些工具在下载时会出现问题。 When I click install, the program sends me this error message: "Failed to install 'Command Line Tolls' An unknown error occurred. Please try again later."
当我单击安装时,程序向我发送此错误消息:“无法安装'命令行收费'发生未知错误。请稍后再试。”
I have also tried using other IDEs, like lightweight, but they all require Free Pascal, which is the tool that needs command line tools. 我也尝试过使用其他IDE,比如轻量级,但它们都需要Free Pascal,这是需要命令行工具的工具。
Does anyone know what the problem is? 有谁知道问题是什么?
Thanks in advance :) 提前致谢 :)
xcode-select --install
worked with version 2333, failed with version 2003. So, try xcode-select --install
and if that does not work download as described below. xcode-select --install
使用版本2333,失败了版本2003.所以,尝试xcode-select --install
,如果这不起作用下载如下所述。
xcode-select --install
has been reporting that "Can't install the software because it is not currently available from the Software Update server". xcode-select --install
一直报告“无法安装软件,因为它目前无法从软件更新服务器获得”。 In late February 2014 the command started only displaying help. 在2014年2月下旬,该命令开始只显示帮助。 The solution is to download directly, see below.
解决方案是直接下载,见下文。
The command line tools are no longer available via Xcode. Xcode不再提供命令行工具。
They must be downloaded from the Apple Developer site . 必须从Apple Developer站点下载它们。 This requires signing in with a developer account.
这需要使用开发者帐户登录。
Or they can be installed from the terminal using xcode-select --install
for certain version of xcode-select`. 或者可以使用
xcode-select --install
为终端xcode-select --install
某些版本的xcode-select`。
For more complete information see this SO answer 有关更完整的信息,请参阅此SO答案
Try again later, it is probably a transient server/network error. 稍后再试,它可能是一个瞬态服务器/网络错误。
Xcode 5 screenshot: Xcode 5截图:
Download and re-install didn't work for me. 下载并重新安装对我不起作用。 Had to go to Xcode and choose which install to use in Preferences/Locations.
不得不去Xcode并选择在首选项/位置使用哪个安装。 (I had accumulated several from Xcode 4, 5 and 6.)
(我从Xcode 4,5和6中积累了几个。)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.