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

后端 未结 30 2472
我寻月下人不归
我寻月下人不归 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:17

    This worked for me...

    1. I deleted the Entitlements file from the target.
    2. Deleted the app off all my devices
    3. Cleaned the build in Xcode
    4. *optional delete the provisioning profile and re-add it

    Hope it works for you guys too :)

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

    Just came across this issue myself, the problem was that I had a Entitlements.plist file in the project as part of an ad hoc distribution, and its get-task-allow (ie. 'can be debugged') property was set to NO - setting this to YES fixed the issue and allowed the app to run from Xcode4 on the device in development.

    Naturally need to set it back to NO for ad hoc distributions, but just thought I'd mention it in case anyone else comes across the same problem.

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

    In my case it was a stupid mistake. I incorrectly set the "Run" scheme to use the "Distribution" build configuration instead of the "Debug" or "Release" one. Stupid mistake, but it took a while to debug it, so I'm going to add my answer to improve the knowledge base inside stack overflow!

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

    This is what solved my problem: Deleting the path in the Code Signing Entitlements section of the Targets build settings.

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

    i'm using xcode 6 and encounter this issue for one particular iphone 4

    finally , i go to device => provision profile =>

    and then add the profile manually and problem is fixed .

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

    One more potential problem that will throw this error message: If you're using a perfectly valid provisioning profile for you main app, but have an expired or otherwise invalid provisioning profile for your Today widget extension. I imagine it'd be the same for an Apple watch extension as well.

    Check all the profiles!

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