The entitlements specified…profile. (0xE8008016). Error iOS 4.2

后端 未结 30 2475
我寻月下人不归
我寻月下人不归 2020-11-28 21:13

I am getting the \'dreaded\' error The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning pr

相关标签:
30条回答
  • 2020-11-28 21:32

    What worked for me was to completely delete the entitlements file, from the groups list, and from the Build Settings in both Project and Target. Then I recreated the entitlements from the Summary tab in the target, and it loaded fine without any error messages.

    0 讨论(0)
  • 2020-11-28 21:32

    None of the many answers fixed the 0xE8008016 Error for me.

    But when I chose "Automatic Device Provisioning" in Xcode 4 > Organizer > Devices > Provisioning Profiles, it finally worked.

    0 讨论(0)
  • 2020-11-28 21:32

    My provisioning profile from Apple developer matched my Xcode capabilities but it still wouldn't build onto my device until I did the following:

    1. Remove/Delete the entitlements file from your Xcode project.

    2. Go back to the Xcode capabilities tab

    3. Hit "Fix Issue" button to get Xcode to re-add the entitlements file.

    Worked for me, hope it helps someone.

    0 讨论(0)
  • 2020-11-28 21:32

    In my case, it looks like Xcode (secretly) reset the Scheme. I found that the build configuration for Archive was set to Release instead of distribution one, and after I changed it to the correct one, it worked.

    I think it is better to check the Schemes as well as the build settings.

    0 讨论(0)
  • Check KeyChain Access!

    In my case I was using the wrong distribution certificate associated with the provisioning profile.

    0 讨论(0)
  • 2020-11-28 21:34

    If you are trying to activate iCloud syncing, you will need to enable iCloud for the AppID that is used to create the development provisioning profile (which Xcode does automatically). You'll also need to enable this for distribution profiles as well.

    The tricky part is that when you refresh profiles in Xcode, this does not trigger a renewal of the profiles; they are simply re-downloaded. So in your iOS Provisioning Portal under Provisioning/Development, you'll need to check the profile that is labeled (Managed by Xcode) and delete it (Remove Selected button). Do this for ALL profiles, development & distribution, that you need to regenerate.

    Now, in Xcode in the Organizer, delete provisioning profiles that you are about to replace.

    Now to get new ones. If you develop for more than one team and only want to refresh a particular one, select the appropriate Team in the left pane under TEAMS, otherwise select Provisioning Profiles under LIBRARY, then select Refresh.

    Finally, remove any old provisioning profiles on your device that could conflict with the new ones since profiles are never deleted automatically; newer profiles are simply added to the list.

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