No Xcode 8 CLT for El Capitan

Marko Käning mk-macports at posteo.net
Wed Sep 21 12:46:57 PDT 2016


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)”!

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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-no-xcrun-f-xcrun.diff
Type: application/octet-stream
Size: 1271 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20160921/858c1848/attachment.obj>
-------------- next part --------------




More information about the macports-dev mailing list