XCode 8: Command line tools for El Captain?

Hi there,


Are there any details on upcoming availability of Command Line Tools? Is Apple going to release at all?


I have a CocoaPods project that appears to not compile and fails due to incompatibility in the built in lipo command vs the one included in Xcode CLT.


Is upgrading to the new OSX before release date the only route to go?

If they're truly different versions, you might be able to use

xcrun lipo
as a workaround.
xcrun
runs development tools from within the Xcode app bundle. You can use the
-f
flag to print the path to a binary within Xcode.


$ which lipo
/usr/bin/lipo
$ xcrun -f lipo
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo

The Known Issues section for Command Line Tools in the Xcode 8.1 release notes seems to state that Xcode 8 will never have a 10.11 Command Line Tools.


Command Line Tools

There is no Command Line Tools (OS X 10.11) for Xcode 8 package. Xcode 8 contains SDKs that are incompatible with earlier toolchains. Developers who want to make use of the Xcode 8 SDKs from the command line must choose the SDK with xcode-select. Developers on OS X El Capitan who have installed versions of the Command Line Tools (OS X 10.11) for Xcode 8 Beta should install Command Line Tools (OS X 10.11) for Xcode 7.3.1. (28234439)

On OS X El Capitan, running Swift from the command line can fail if any Command Line Tools (OS X 10.11) package is installed on the system. (28234754)


Workaround: Execute Swift through from the command line using xcrun, . Choose the macOS SDK using the -sdk. For example, the following command compiles the file main.swift:

xcrun -sdk macosx swiftc main.swift



Looks like the App Store now has: Command Line Tools (macOS El Capitan version 10.11) for Xcode 8.2

Can you please post the link. I am unable to find it in app store

Not the app store - use the Resources link above, then the 'more' link at the bottom, then search dev downloads.

XCode 8: Command line tools for El Captain?
 
 
Q