I have Mac OS X
version 10.5.7
so I downloaded Xcode
version 4.6.3
and launched it.
According to many tutorials (such as this) I am supposed to install further command line tools via terminal: xcode-select --install
But all I get is a little manual page:
Usage: xcode-select -print-path
or: xcode-select -switch <xcode_folder_path>
or: xcode-select -version
Arguments:
-print-path Prints the path of the current Xcode folder
-switch <xcode_folder_path> Sets the path for the current Xcode folder
-version Prints xcode-select version information
I went into the Applications
directory and tried to run the command from there, but the same outcome.
In fact, the content of my Applications
directory revealed through the following command is strange:
~ cd Applications
~ ls
Chrome Apps.localized
What am I missing or doing wrong?
Best Answer
The command line install works on much newer OS than yours - the tutorial you link is 10.10 and Xcode 6 or 7.
If you can't upgrade to 10.6.8 and then get past Lion, I would suggest run the graphical installer and look for Xcode possibly in
/Developer
if you don't see it in the/Applications
folder.