No Xcode 8 CLT for El Capitan

Jeremy Huddleston Sequoia jeremyhu at macports.org
Thu Sep 22 01:53:27 PDT 2016


> On Sep 21, 2016, at 13:02, Jack Howarth <howarth.at.macports at gmail.com> wrote:
> 
> On Wed, Sep 21, 2016 at 3:46 PM, 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)”!
>> 
> 
> Launching the Xcode 8 application should resolve the license issue.
> 
>> 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:
> 
> The xcrun copy in Xcode.app has been deprecated out in favor of the
> system copy in /usr/bin.

Slight correction there... it was deprecated around Xcode 5.
It was removed in Xcode 8.

> Upstream qt development fixed this issue by changing the failing test
> for xcrun to one for xcodebuild.
> 
> https://trac.macports.org/ticket/52200
> 
>> ---
>> $ 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
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> macports-dev mailing list
>> macports-dev at lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/macports-dev
>> 

-------------- 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/5d37630d/attachment.p7s>


More information about the macports-dev mailing list