The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016).

xcode7.3。

证书 ,provisions file 都正确,网上找了各种方法,无法解决。

build  ,clean ,重启, 删除derived data ,都不行,显示参考了stack overflow一篇文章,大概看了,

各种错误都有,大概有4种。

1. provisions file 与 capability不匹配

2 provision file 不匹配 

3. debug release选错

4. 设备uuid未加入provisions file 

解决不了,该如何????

网上说的原因应该都能出这个问题,折腾一晚上没搞定,最后发现我的问题是

info.plist -->Bundle identifier 中的名字 与  target-->build settings -->packaging-->Product bundle identifier 中的

名字不匹配。

把这2处地方改为一直就解决了这个问题。

参考:

1.  http://stackoverflow.com/questions/5240801/the-entitlements-specified-profile-0xe8008016-error-ios-4-2?page=2&tab=votes#tab-top

2. http://stackoverflow.com/questions/19581225/the-executable-gets-signed-with-invalid-entitlements-in-xcode

3. http://www.karlmonaghan.com/2011/07/08/the-executable-was-signed-with-invalid-entitlements-0xe8008016/

4. https://developer.apple.com/library/ios/technotes/tn2415/_index.html

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容