Qt 5.15.2 on iOS no longer builds
Unsolved
Mobile and Embedded
-
Hi folks,
I am experiencing this with the latest version of XCode. My build is failing pretty early on:
22:07:38: Starting: "/Users/justin/Qt/5.15.2/ios/bin/qmake" /Users/justin/github/ct/ct.pro -spec macx-ios-clang CONFIG+=release CONFIG+=iphoneos CONFIG+=device CONFIG+=qtquickcompiler /Users/justin/Qt/5.15.2/ios/bin/rcc: File does not exist '/Users/justin/github/build-ct-Qt_5_15_2_for_iOS-Release/qmake_qmake_immediate.qrc' qmlimportscanner: No such file or directory: "/Users/justin/github/build-ct-Qt_5_15_2_for_iOS-Release/qmake_qmake_immediate.qrc" /Users/justin/Qt/5.15.2/ios/mkspecs/features/qt.prf:307: Error parsing JSON at 1:1: illegal value Project ERROR: Failed to parse qmlimportscanner output. 22:07:42: The process "/Users/justin/Qt/5.15.2/ios/bin/qmake" exited with code 3. Error while building/deploying project ct (kit: Qt 5.15.2 for iOS) When executing step "qmake" 22:07:42: Elapsed time: 00:04.
It looks like qmlimportscanner is failing because qmake_qmake_immediate.qrc is not being generated for some reason.
Anybody seen this and have a resolution?
Thanks!
-
@Justin-Steventon said in Qt 5.15.2 on iOS no longer builds:
latest version of XCode
XCode is 16 is not supported by outdated Qt 5.15.2.
Upgrade to Qt 6.5 or higher and it will work.
If you really want to work with an outdated, unsupported version of Qt, downgrade to XCode 15. -
@Axel-Spoerl Thanks, this is very helpful. I have been putting off the upgrade to 6, so time to just get it done.