Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.10.0-beta2
-
-
c6b9f406152e160747a4287a5faa4ce86c9c9fe6 (qt-creator/qt-creator/4.10)
Description
The clang call that is used to get the toolchain includes/defines misses the -arch flag.
It calls
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -stdlib=libc++ -x c++ -E -v - -target aarch64-apple-darwin18.6.0
without the required -arch arm64 (which is correctly the platform codegen & linker flag in the tool chain settings)