Rights do not match Provisioning Profile (0xE8008016)

Today I finally got my Developer Company account. I am working on the application, first on my personal account, and today I need to move the application to the company account. So I created a new Bundle-Identifier on developer.apple.com and changed the Bundle-Identifier also in my Xcode project. In addition, I added an account to Xcode, changed Signing to my new company account, and allowed Xcode to fix problems with the Provisioning-File-Troubles file. (In Xcode, I see two member members from one account, one of them is an agent, the other user. It may be important that I select a team member agent. Unfortunately, I cannot change, because then I get a message the error "change to a unique identifier bundle-id, because the bundle identifier is already in the Agent-Team? ^^) Working with Simulator works fine, but when I want to test on my phone, I get the following error: The entitlements specified in your application's Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016).

If I click next to the initialization file, I see the following rights: enter image description here

And in the "Rights" section, I turned on only Push-Notifications. But it was like this before changing the package id

+6
source share
4 answers

I had the same problem and none of the solutions that I found while stack overflowing or github did not work for me.

Here is my solution:

  • Select a project in the project navigator enter image description here

  • Select the General tab.

  • To the left of the General tab, select the target on the left; (this should show a dropdown menu with a list of goals)
  • Below your current goal you should see the subject {your project} Tests; select it.
    1. Check the signature properties on the general tab and make sure they are valid.

This was a problem for me. Hope this helps.

+16
source

Try to remove the application from your device, and then run the application on Xcode, I think that the current application that was on your device is signed with the old account so that you can not start a new application that has been assigned a new account, hope for help,

0
source

Xcode 9 GM. Error enabling manual signature.

Enable automatic code signing. Turn off automatic code signing.

0
source

You need to see all the details where your preliminary profile and certificate will be installed from the main page.

eg. For all purposes -> Build Settings -> Code Signature Identification and a verified profile and set the correct profiles anywhere in the application.

sometimes, when you choose manual code registration, then it is not reflected correctly in all places.

0
source

Source: https://habr.com/ru/post/1012922/


All Articles