[Interest] Qt 5.15.1 and XCode 12.1

Jérôme Godbout godboutj at amotus.ca
Thu Oct 22 21:17:13 CEST 2020


Hi,
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:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk

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
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.1.sdk

That point to:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk

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.

Thanks,
Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201022/593cd1e6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2020-10-22 at 3.11.50 PM.png
Type: image/png
Size: 17201 bytes
Desc: Screen Shot 2020-10-22 at 3.11.50 PM.png
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201022/593cd1e6/attachment.png>


More information about the Interest mailing list