权利文件与您的配置文件中指定的文件不匹配。(0xE8008016) [英] Entitlements file do not match those specified in your provisioning profile.(0xE8008016)

查看:575
本文介绍了权利文件与您的配置文件中指定的文件不匹配。(0xE8008016)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可执行文件使用无效的权利进行签名。

The executable was signed with invalid entitlements.

应用程序的代码签名权利文件中指定的权利与您的配置文件中指定的权利不匹配。 0xE8008016)。

我收到此错误。请帮帮我。

I am getting this error. please help me.

我已经创建了配置文件并更改了套件ID。我已经从Target-> Capabilities中启用了keychain共享,并生成了新的.entitlement文件。我也改变了它的包ID。

I have create the provisioning profile and change the bundle id. I have enable the keychain sharing from Target->Capabilities and generate the new .entitlement file. and i have also change the bundle id in that.

推荐答案

对于我来说,在Xcode 5.1中,我得到了指定的权利您的应用程序的代码签名权利文件与您的配置文件中指定的文件不符。尝试在我的设备上测试应用程序时。设备开发证书必须在2015年2月到期。

For me in Xcode 5.1, I was getting The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. when trying to test the app on my device. Device Development Certificate has to expire Feb 2015.

问题已解决:

已选择目标 - >功能,在GameCenter下,我在这里得到了GameCenter权利的错误,因为它没有添加到项目中,虽然第一个版本的应用程序是通过相同的XCode 5.1发布但没有像这样的错误之前。

Selected Target->Capabilities, under GameCenter, here I was getting error on GameCenter entitlement as it was not added to project, although first version of application was released via same XCode 5.1 but there were no errors like this before.

下面是一个按钮,标题为修复问题。单击时,它添加了GameCenter权利并且问题已解决。

Below, a button was given with title Fix Issue. When clicked it added the GameCenter entitlement and issue was resolved.

在看病之后,屏幕显示如下:

After wards the screen looks like:

< img src =https://i.stack.imgur.com/FsuZG.pngalt =在此输入图像说明>

对我来说,什么都没有与证书或包标识符有关。应用程序现在可以在设备上成功运行。

For me, there was nothing to do with certificate or bundle identifier. App now runs successfully on the device.

这篇关于权利文件与您的配置文件中指定的文件不匹配。(0xE8008016)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆