iOS App - Failed to create provisioning profile

11,867

You should visit apple's developer portal here:

https://developer.apple.com/

On the top right, select "Account"

After login in, go to "Certificates, IDs & Profiles" on the left.

Then under the Provisioning Profiles section, make sure the one you are using for your current app (Developer one if its a wild card, or Your App Name if it is using entitlements) has your current user account registered in it.

You can download it and double click it after and it will be automatically added to Xcode.

Share:
11,867
Admin
Author by

Admin

Updated on June 04, 2022

Comments

  • Admin
    Admin almost 2 years

    I was updating iPhone app after iOS 11 release. I got an build error while trying to archive the app with Generic device. The error is

    "Failed to create provisioning profile. The appID XX cannot be registered to your development team. Change your bundle identifier to a unique string and try again."

    I cannot change the bundle identifier, even though it can solve the problem [When changing the bundle identifier, i am getting error because of "No device registered"]. I have a developer account, through which previous versions of app were developed, however old versions were developed in another mac machine.

    I am using Xcode 9.2 Also in the account added, i could not see "View details" below my account in Xcode 9.2 as shown in various apple guide for Xcode.

    Any help is appreciated.