No Xcode 8 CLT for El Capitan
Jeremy Huddleston Sequoia
jeremyhu at macports.org
Thu Sep 22 01:52:12 PDT 2016
> On Sep 21, 2016, at 12:46, Marko Käning <mk-macports at posteo.net> wrote:
>
> Hi,
>
> there is no CLT for Xcode 8?
>
> How come Xcode 8.0 tells me in "Preferences/Locations" that it uses CLT "Xcode 8.0 (8A218a)”!
That refers to what is selected via xcode-select. That means that xcrun and the stubs like /usr/bin/clang result in usage of the toolchains within that Xcode.app version. The CLTools toolchain is in /Library/Developer/CommandLineTools. If you have Xcode.app installed, you likely don't even care about /Library/Developer/CommandLineTools and the only reason you need the CLTools package is for the headers for the base system (/usr/include, et al.)
>
> I recently ran into this issue
> ---
> :info:configure
> :info:configure Xcode not set up properly. You may need to confirm the license
> :info:configure agreement by running /usr/bin/xcodebuild without arguments.
> :info:configure
> ---
> with Xcode 8 on El-Capitan myself when trying to install port:qt5(-kde).
>
>
>
> Qt’s configure script errors out because of a non-found xcrun:
> ---
> $ which xcrun
> /usr/bin/xcrun
> $ /usr/bin/xcrun -find xcrun
> xcrun: error: unable to find utility "xcrun", not a developer tool or in PATH
> ---
>
> René thus suggested the attached patch for qt5(-kde) as a workaround.
>
> Greets,
> Marko
>
>
>
> <patch-no-xcrun-f-xcrun.diff>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4465 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20160922/8d20bdd3/attachment-0001.p7s>
More information about the macports-dev
mailing list