Add xcode-select to PATH vs. Install Xcode Command Line Tools?
Posted
by
MattDiPasquale
on Stack Overflow
See other posts from Stack Overflow
or by MattDiPasquale
Published on 2012-10-03T15:35:47Z
Indexed on
2012/10/03
15:37 UTC
Read the original article
Hit count: 265
Now with Xcode 4.5, is it OK to just add the following line to my ~/.bash_profile
rather than installing the Xcode Command Line Tools?
export PATH="$PATH:`xcode-select -print-path`/usr/bin:`xcode-select -print-path`/Toolchains/XcodeDefault.xctoolchain/usr/bin"
Note: Xcode says the following about Command Line Tools:
Before installing, note that from within Terminal you can use the XCRUN tool to launch compilers and other tools embedded within the Xcode application. Use the XCODE-SELECT tool to define which version of Xcode is active. Type "man xcrun" from within Terminal to find out more.
© Stack Overflow or respective owner