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:
https://codereview.qt-project.org/c/qt/qtbase/+/314636/3/mkspecs/features/toolchain.prf#185
And the Andy Shaw patch over here:
https://bugreports.qt.io/browse/QTBUG-86718



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

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
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to