可执行文件使用无效权利进行签名 (0xE8008016)

发布于 2025-01-07 05:56:09 字数 436 浏览 0 评论 0原文

不知道发生了什么! 我必须复制一个应用程序,因此我将其重命名,更改了边界并重新制作了所有应用程序 ID 和证书。 我编译它,它返回“可执行文件使用无效的权利进行签名。应用程序的代码签名权利文件中指定的权利与您的配置文件中指定的权利不匹配。(0xE8008016)。”

我用谷歌搜索,只找到了有关 Entitlements.plist 文件的一些内容,但我不明白那是什么以及它是否有用:我尝试将其添加到我的项目中,但似乎我可以添加值“get-task-”允许”因为似乎已经是这样了,但我没有找到它...... 换句话说,一切都很混乱,我不知道该怎么办。

有人可以给我建议吗?

更新:我在管理器中刷新了配置文件,现在它返回一个新错误,并且不再编译:代码签名错误:找不到配置文件“xxx”。 是更好还是更差? 更新:我再次在起点更改了个人资料。

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)."

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.

Can anybody and advise me?

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..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

赠我空喜 2025-01-14 05:56:09

我遇到了同样的问题。我有一个应用程序,可以从 xcode 部署到我的 iphone (5.0)。将我的手机更新到 5.1 后,我无法再部署到它,因为我的 Xcode 已过时。将 xcode 更新到 4.3.2 后,我的手机可用,但尝试部署导致出现您提到的“权利”错误。我通过进入我的苹果开发者帐户并更新我的配置文件以包含我的“新”手机来解决这个问题。我是用将 iPhone 插入 Mac 来完成此操作的。因此,显然,就配置文件而言,将我的手机升级到 5.1 会使其成为一台新设备。

我对 iOS 开发非常陌生,所以可能不知道我在说什么,但上面的一系列步骤为我修复了这个错误。希望有帮助!

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.

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!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文