Entitlements file do not match those specified in your provisioning profile.(0xE8008016)

后端 未结 22 1637
粉色の甜心
粉色の甜心 2020-11-29 01:10

The executable was signed with invalid entitlements.

The entitlements specified in your application’s Code Signing Entitlements file do not match those specif

相关标签:
22条回答
  • 2020-11-29 01:43

    In my case, I had a duplicate Provisioning Profile with the same name. This was accidentally created when I added an share extension to my project, stash all of those changes with git, and created a new share extension with the same name (com.companyname.project.share-extension-name). Deleting the Provisioning Profile in the developer member center (developer.apple.com) fixed this for me.

    0 讨论(0)
  • 2020-11-29 01:44

    In my case, the app main Target's Team was different from Tests' Target Team. Changing the Tests' Team to the same Team as main Target's solves the issue.

    0 讨论(0)
  • 2020-11-29 01:45

    I had to delete all the provisioning profiles by following this article.

    0 讨论(0)
  • 2020-11-29 01:46

    First of all, you should check bundle id, provision profile and certificate with private key (.p12).

    If it doesn't help. Be sure that the Code Signing Entitlements has correct value or remove it at all.

    enter image description here

    0 讨论(0)
  • 2020-11-29 01:48

    One possible reason for this error is: your annual subscription has been renewed. Once the subscription is renewed, all devices related to the active provision profiles will be detached.

    1. The admin must reactivate the list of devices for the new subscribed year.
    2. The admin must delete last year provision profiles. (all are useless).
    3. The admin must regenerate new provision profiles for the new year with the list of devices of his choice.

    After this, rebuild project with Xcode and the error will disappear.

    0 讨论(0)
  • 2020-11-29 01:50

    File > Workspace Settings > Build System > Legacy Build System

    This worked for me. Xcode 10.0

    0 讨论(0)
提交回复
热议问题