Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.3
-
None
-
Hardware: MacBook Air M1 2020
OS: macOS 14 Sonora
XCode: 15
Qt 6.5.3 (installed and updated today)
projects are created, built and started from QtCreator 11 (also most recent update available in Qt Maintenance tool)
Description
This problem can be reproduced using the current version of Qt Creator with Qt 6.5 for iOS to create a new empty Qt Quick Application without support for Qt DesignStudio (second last choice in the list). When the project is open, hit build for iOS to open it in XCode. The problem is that when this application is built, the generated .xcodeproj-file does not work as documented due to compatibility problems with CMake.
More details about the problem can be found here: https://gitlab.kitware.com/cmake/cmake/-/issues/24399#note_1340652
In order to publish the iOS-app, some steps need to be done manually in XCode like setting the app-icon and some other adaptations. Currently this is not possible to do, as the .xcodeproj adhers to such an old standard that the "General" tab in the XCode settings isn't populated / doesn't appear (and this is where the app icon and launch screen are set), more details in the issue indicated above.
I have studied the documentation here https://doc.qt.io/qt-6/ios.html and https://doc.qt.io/qt-6/ios-platform-notes.html, but I couldn't find any hints on which steps to take to fix this issue and get the "General" tab in the project's settings populated.
I know this isn't directly a Qt-issue, and mostly goes back to the way how CMake generates this template. However currently I feel stuck and I don't know how to get on to finally publish my project on the AppStore due to this issue.
I tried to apply some of the workarounds offered in the CMake-issue indicated above, but didn't manage to make it work. All of this is so much simpler for Android, there it just works. For iOS however...
What I would appreciate in this case would be a complete minimal working example of an iOS app, with all the required workarounds implemented to fix the XCode issue, and with a custom iOS LaunchScreen and app-icon configured. Just like the other Qt-examples, but with all this configuration in place. Based on that it would also be easier to read the documentation and the platform notes where it is sometimes hard to see how things are connected without being able to see a folder with an application.
Attachments
Issue Links
- relates to
-
QTBUG-110921 Documentation for building iOS apps is plain wrong
- Closed
-
QTBUG-116784 iOS built with CMAKE is not uploadable on Appstore (Transporter)
- Closed