Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 5.0 Error installing command line tools

Tags:

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

like image 549
lazyboy007 Avatar asked Sep 28 '13 11:09

lazyboy007


2 Answers

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

like image 72
zaph Avatar answered Sep 19 '22 15:09

zaph


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

like image 24
Bruce Geerdes Avatar answered Sep 18 '22 15:09

Bruce Geerdes