Xcode 5.0 Error installing command line tools
Asked Answered
P

2

20

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 :)

Pterodactyl answered 28/9, 2013 at 11:55 Comment(1)
Try again later, it is probably a transient server/network error. See this SO answerNorman
N
59

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: enter image description here

Norman answered 28/9, 2013 at 13:4 Comment(8)
By the way, if you are under Mavericks now the "Command Line Tools" are not listed anymore: you have to download them manually from Apple Developers' portalNonbeliever
@Nonbeliever The above link does not work, it is linked to your session.Norman
@koda: Just to be sure: in 5.0.1/10.9 the absence of an entry for Command Line Tools in the Downloads pane doesn't mean that the tools are already installed, but means that they can't be installed that way (any more)?Takin
I've posted a related question about the consequences of following this procedure.Takin
What I find very bizarre about this is that Apple said at WWDC that the command line tools would come with Xcode, the dialog box that pops up implies the same thing. It claims you have a choice: install the command line tools or install Xcode. Yet installing Xcode doesn't seem to have installed the tools for me.Bregenz
Under Mavericks (OSX 10.9) and having just upgraded to latest Xcode (v. 5.02), running "xcode-select --install” from terminal, as suggested, worked immediately.Areta
xcode-select --install seems to not be working anymore "Can't install the software because is not currently available from the Software Update server".Mattins
Been dead for months. Login and download the DMG.Wheedle
A
3

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

enter image description here

Alena answered 20/7, 2014 at 14:31 Comment(1)
This helped me on Yosemite version 10.10.3 (Mac mini Late 2012) - Xcode Version 6.3.2 (6D2105).Systematize

© 2022 - 2024 — McMap. All rights reserved.