[Interest] Qt 5.15.1 and XCode 12.1

Tor Arne Vestbø Tor.arne.Vestbo at qt.io
Thu Oct 22 22:44:53 CEST 2020

Try wiping he build directory completely. There’s likely a .qmake.stash file lingering with an old Xcode SDK path in it.

Tor Arne

On 22 Oct 2020, at 21:17, Jérôme Godbout <godboutj at amotus.ca<mailto:godboutj at amotus.ca>> wrote:

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.

<Screen Shot 2020-10-22 at 3.11.50 PM.png>_______________________________________________
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>

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

More information about the Interest mailing list