可执行文件已使用无效授权(0xE8008016)签名 [英] The executable was signed with invalid entitlements (0xE8008016)

查看:1574
本文介绍了可执行文件已使用无效授权(0xE8008016)签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不知道发生了什么!
我必须复制一个应用程序,所以我已经重命名它,改变了边界和重新制作所有的应用程序ID和证书。
我编译它,它返回可执行文件用无效的授权签名。应用程序的代码签名授权文件中指定的授权与配置文件中指定的授权不匹配(0xE8008016)。

No idea of what is going on! I have to duplicate an App so I've renamed it, changed the boundle and remaked all the App ID and certificates. I compile it and it returns "The executable was signed with invalid entitlements. The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016)."

我googled它,只找到一些关于Entitlements.plist文件,但我不明白这是什么,如果它是有用的:我尝试添加到我的项目,但似乎我可以添加值get-task-allow,因为它似乎已经是,但我没有找到它...
换句话说,它是一个混乱,我不知道该怎么办

I googled it and only found something about the Entitlements.plist file, but I don't understand what's that and if it is useful: I try to add it to my project but it seems that I can add the value "get-task-allow" because it seems that it is already that, but I don't find it... In other words it'a mess and I don't know what to do.

有人可以告诉我吗?

更新:我刷新在组织器中配置配置文件,现在它返回一个新的错误,它不再编译:代码签名错误:无法找到配置配置文件'xxx'。
是更好还是最坏?
更新:我已经在开始时更改了个人资料..

Update: I've refreshed Provisioning Profiles in the Organizer and now it returns a new error and it doesn't compile any more: Code Sign error: Provisioning profile 'xxx' can't be found. Is it better or worst? Update: I've changed profile, again at the starting point..

推荐答案

我碰到了同样的问题。我有一个应用程序,我能够部署到我的iphone(5.0)从xcode。将我的手机更新到5.1之后,我无法再部署它,因为我的xcode已过时。将xcode更新到4.3.2后,我的手机可用,但尝试部署导致您提到的权利错误。我解决了这个进入我的苹果开发者帐户,并更新我的配置文件包括我的新电话。我这样做与我的iphone插入我的mac。所以显然升级我的手机到5.1导致它是一个新的设备就配置配置文件。

I ran into this same issue. I had an app which I was able to deploy to my iphone (5.0) from xcode. After updating my phone to 5.1 I could no longer deploy to it because my xcode was outdated. After updating xcode to 4.3.2, my phone was available but the attempts to deploy resulted in the "entitlements" error you mentioned. I solved this by going into my apple developer account and updating my provisioning profile to include my "new" phone. I did this with my iphone plugged into my mac. So apparently upgrading my phone to 5.1 causes it to be a new device as far as the provisioning profile goes.

我是非常新的iOS开发,因此可能有不知道我在说什么,但上面的系列步骤固定这个错误为我。希望它帮助!

I'm very very new to iOS development, so may have no idea what I'm talking about, but the series of steps above fixed this error for me. Hope it helps!

这篇关于可执行文件已使用无效授权(0xE8008016)签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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