简体   繁体   中英

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. 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.

Does anyone know what the problem is?

Thanks in advance :)

Xcode 5.1 and OSX 10.9.

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.

arly February 2014

xcode-select --install has been reporting that "Can't install the software because it is not currently available from the Software Update server". In late February 2014 the command started only displaying help. The solution is to download directly, see below.

Xcode 5.0.1 and Mavericks 10.9

The command line tools are no longer available via Xcode.

Direct download

They must be downloaded from the Apple Developer site . 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`.

For more complete information see this SO answer

Try again later, it is probably a transient server/network error.

See this SO answer

Xcode 5 screenshot: 在此输入图像描述

Download and re-install didn't work for me. Had to go to Xcode and choose which install to use in Preferences/Locations. (I had accumulated several from Xcode 4, 5 and 6.)

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM