[Interest] Qt 5.15.1 and XCode 12.1

Jérôme Godbout godboutj at amotus.ca
Sat Oct 24 23:09:08 CEST 2020

Just found a solution (probably not the best one, but got me to load the project at least):
I simply made a symlink

cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/

sudo ln -s iPhoneOS.sdk iPhoneOS14.0.sdk

I did try those without success:
And the Andy Shaw patch over here:

From: Interest <interest-bounces at qt-project.org> on behalf of Jérôme Godbout <godboutj at amotus.ca>
Sent: Thursday, October 22, 2020 3:17 PM
To: Qt Interest <interest at qt-project.org>
Subject: [Interest] Qt 5.15.1 and XCode 12.1

I ran into a problem with the following combo:

  *   XCode 12.1
  *   Qt 5.15.1
  *   Qt Creator 4.13.2
  *   Mac OS 10.15.6

While opening project for iOS it fail to find:

The qmake failed to load the project with this error:
Project ERROR: Cannot run target compiler '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'. Output:
Apple clang version 12.0.0 (clang-1200.0.32.21)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk' [-Wmissing-sysroot]
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/c++/v1"

It doesn't exist, but there is a symlink called

That point to:

The setting into QtCreator fro 5.15.1 iOS is pointing to actual folder, see picture in attachment.

Where does this 14.0 path coming from? I try to reboot, no luck... just in case the path was not yet register properly.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201024/f49dadd9/attachment.html>

More information about the Interest mailing list