Details
-
Type:
Task
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: 6.2.0 Beta4
-
Fix Version/s: 6.2.5, 6.3.1, 6.4.0 Beta1
-
Component/s: Build System: CMake, Build tools: qmake
-
Labels:None
-
Platform/s:
-
Commits:9174321000 (qt/qtbase/dev) 9174321000 (qt/tqtc-qtbase/dev) f5fc4dd830 (qt/qtbase/6.3) f5fc4dd830 (qt/tqtc-qtbase/6.3) f5fc4dd830 (qt/qtbase/6.3.1) fb00dabee2 (qt/tqtc-qtbase/6.2)
Description
From discussion at https://bugreports.qt.io/browse/QTBUG-95565?focusedCommentId=583508&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-583508
And from internal testing setting CODE_SIGN_STYLE=Automatic improves the error message a bit when -allowProvisioningUpdates is used.
Otherwise one might think that -allowProvisioningUpdates is broken.
$ xcodebuild -allowProvisioningUpdates error: No profiles for 'com.fakecomp.gui-analogclock' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.fakecomp.gui-analogclock'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'gui_analogclock' from project 'analogclock') $ xcodebuild -allowProvisioningUpdates CODE_SIGN_STYLE=Automatic error: Failed to create provisioning profile. There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it. (in target 'gui_analogclock' from project 'analogclock') error: No profiles for 'com.fakecomp.gui-analogclock' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.fakecomp.gui-analogclock'. (in target 'gui_analogclock' from project 'analogclock')
We should consider adding that xcode property in the generated Xcode projects by both qmake and CMake.
Attachments
Issue Links
- is required for
-
QTBUG-95838 Improve experience of building iOS projects with CMake
-
- Open
-
- resulted from
-
QTBUG-95565 Qt Creator cannot build Qt 6 for iOS from the start
-
- Closed
-