[Interest] Error building Qt 5.8 with Xcode 8

Calogero Mauceri mauceri at actgate.com
Fri May 19 18:31:34 CEST 2017


Hi Alexandru,

executing

/usr/bin/xcrun -find xcodebuild

I get the following error

xcrun: error: unable to find utility "xcodebuild", not a developer tool or
in PATH

Note that xcodebuild is in /usr/bin and that path in is PATH

I installed XCode via App Store

Calogero



On Fri, May 19, 2017 at 6:17 PM, Alexandru Croitor <alexandru.croitor at qt.io>
wrote:

> Hi,
>
> If you grep for the message, you can find that it's printed in
> qtbase/mkspecs/features/mac/default_pre.prf
>
> It checks for xcode by running "/usr/bin/xcrun -find xcodebuild
> 2>/dev/null"
>
> Try to run that from your terminal and check what's the output.
>
> One possible cause might be when you installed Xcode through different
> means: via app store or via regular download.
>
> Alex.
>
> On 19 May 2017, at 18:08, Calogero Mauceri <mauceri at actgate.com> wrote:
>
> Hi all,
>
> Trying to build Qt 5.8 on Mac OS 10.12.5, I get get the following error
>
> ./configure
>
> + cd qtbase
> + /Users/myuser/qt-everywhere-opensource-src-5.8.0/qtbase/configure
> -top-level
>
>    Xcode not set up properly. You may need to confirm the license
>    agreement by running /usr/bin/xcodebuild without arguments.
>
>
> XCode 8.3.2 is properly installed and configured on that machine.
>
> Any suggestions on how to fix this issue?
>
> Thanks,
> Calogero
>
> --
> Calogero Mauceri
> Software Engineer
>
> Applied Coherent Technology Corporation (ACT)
> www.actgate.com
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
>


-- 
Calogero Mauceri
Software Engineer

Applied Coherent Technology Corporation (ACT)
www.actgate.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170519/d6fc8421/attachment.html>


More information about the Interest mailing list