invalid entitlements 0xE8008016 when I add the entitlements file

后端 未结 14 2664
说谎
说谎 2021-02-20 13:48

I\'m trying to do ad hoc distribution. When I use XCode, the application installs fine on my phone.

In preparation for ad hoc distribution, I created the default entitl

相关标签:
14条回答
  • 2021-02-20 14:00

    It seems this error code is used for many situations. In my case, the problem started to happen after we set our DataProtectionClass to NSFileProtectionComplete. I'm not sure of the fix yet.

    0 讨论(0)
  • 2021-02-20 14:02

    me too got this type of error, i resolved this by deleting current Entitlement.plist and adding new Entitlement.plist. Because the project i was trying to run was build on 3.2 sdk and current i am using 4.2. That was the only reason i was getting error

    0 讨论(0)
  • 2021-02-20 14:07

    I've made it! The reason is you got wrong Certificates! If you're using development Certificates, you can't use the distribution Certificates.

    0 讨论(0)
  • 2021-02-20 14:07

    For what its worth, I had this issue with one app but not another. Seems the "Provisioning Profile" in Target->BuildSettings->Code Signing had to be set to "Automatic". If you selected one of the ones in the list it failed with this error.

    0 讨论(0)
  • 2021-02-20 14:07

    Another pitfall while trying to correct this error: you'll also need to replace provisioning profiles from embedded extensions.

    In my case, the provisioning profile of my iOS app was just fine. It took me hours to figure out that the provisioning profile of my widget (or Today Extension) needed an update, due to a new device to test on.

    Make sure you check all relevant and related targets, not only the target you're trying to execute.

    0 讨论(0)
  • 2021-02-20 14:08

    Go to Target -> Capabilities - > Associated Domains

    Press Fixed issue Button

    Run Project

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