xcode-select

Ned Deily nad at acm.org
Fri Sep 21 15:38:14 PDT 2012


In article <691F79EB-9F8D-4211-8608-CC833A1F2C08 at macports.org>,
 Bradley Giesbrecht <pixilla at macports.org> 
 wrote:
> Does xcode-select change the command line tools?
> 
> If not, is there a command to issue after xcode-select to install the command 
> line tools for the select xcode?
 
xcode-select has no effect on which command line tools are installed, 
that is, in /usr/bin et al.  Only one version of command line tools can 
be installed at a time and, AFAIK, that is accomplished through the 
Installer.app or Xcode -> Downloads -> Components.  If you have the path 
to a particular command line tools installer package, presumably you 
could also use /usr/sbin/installer directly.   Otherwise, to run command 
line tools supplied with an Xcode 3 or 4 release regardless of whether 
they are currently the installed version, xcrun can be used to find the 
path to a tool and xcode-select provides the default release for xcrun 
if not otherwise overridden.

-- 
 Ned Deily,
 nad at acm.org



More information about the macports-dev mailing list