Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96347

Qt for iOS projects should default to using automatic code-signing by setting CODE_SIGN_STYLE=Automatic in the Xcode project

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              alexandru.croitor Alexandru Croitor
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes