Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29340

Unable to build new projects for iOS (Failed to register bundle identifier)

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • ca3f7a7bb (11.0)

    Description

      Description:

      When attempting to create new projects for iOS using the Qt 6.2.9 Kit, I encounter an error preventing the successful creation of the project. The error message displayed is as follows:

      /Users/alberrizwan/build-testApp515-Qt_6_2_9_for_iOS/testApp515.xcodeproj: error: Failed to register bundle identifier: The app identifier "my.example.com" cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again. (in target 'testApp515' from project 'testApp515') /Users/alberrizwan/build-testApp515-Qt_6_2_9_for_iOS/testApp515.xcodeproj: error: No profiles for 'my.example.com' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'my.example.com'. (in target 'testApp515' from project 'testApp515')
      

      Steps to Reproduce:

      1. Launch Qt Creator.
      2. Select "Create Project" and follow along with the wizard.
      3. Specify the project name, location, and kit as Qt 6.2.9 for iOS.
      4. Proceed with the project creation.

      Expected Results: The project should be created successfully without any errors, allowing further development and deployment to iOS devices.

      Actual Results: The project creation fails with the error message, indicating that the app identifier "my.example.com" cannot be registered to the development team due to its unavailability.

      Additional Information:

      • I am using Qt 6.2.9 with the iOS development kit.
      • Xcode version: Version 14.0.1 (14A400)
      • MacOS version: 12.6.5

      Workaround: To overcome this issue, I changed the app identifier to a unique string. After modifying the bundle identifier in the project settings to a custom, unique value (e.g., "com.qt.testApp"), I was able to proceed with the project creation and continue deployment on iOS.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-29340
          # Subject Branch Project Status CR V

          Activity

            People

              con Eike Ziller
              alrizwan Alber Rizwan
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes