Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing command line tools 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.

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"

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.

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?

like image 449
Peter Kaminski Avatar asked Dec 30 '13 04:12

Peter Kaminski


People also ask

How do I manually install command-line tools?

You can install and update each package using Android Studio's SDK Manager or the sdkmanager command-line tool. All of the packages are downloaded into your Android SDK directory, which you can locate as follows: In Android Studio, click File > Project Structure. Select SDK Location in the left pane.

How do I open Xcode command-line tools on a Mac?

Start Xcode on the Mac. Choose Preferences from the Xcode menu. In the General window, click the Locations tab. On the Location window, check that the Command Line Tools option shows the Xcode version (with which the Command Line Tools were installed).


2 Answers

Using xcode-select --install in Terminal and choose install tools

like image 183
Ngo Quang Huy Avatar answered Sep 24 '22 02:09

Ngo Quang Huy


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.

like image 44
Ned Deily Avatar answered Sep 22 '22 02:09

Ned Deily