iPhone 应用程序代码签名错误 - “...签名无效...”

发布于 2024-09-13 15:19:56 字数 333 浏览 2 评论 0原文

我正在尝试将我的第一个 iOS 应用程序上传到 iTunes Connect,但我无法执行此操作,因为每次尝试上传它时,我都会从应用程序加载器收到以下错误:

您上传的二进制文件无效。 签名无效,或者是 未与 Apple 提交的内容一起签名 证书

我已尽力遵循 Apple 网站上的说明。 我注意到我构建的 .app 文件中应该包含的 .mobileprovision 文件丢失了 - 有谁知道什么会导致问题的这个特定部分发生?我怀疑这可能是根本原因。

此外,有人对我如何纠正这个问题有任何其他建议吗?

I am trying to upload my first iOS app to iTunes Connect, but I am unable to do this because every time I try to upload it, I receive the following error from Application Loader:

The binary you uploaded was invalid.
The signature was invalid, or it was
not signed with an Apple submission
certificate

I have followed the instructions on the Apple website to the best of my ability. I have noticed that the .mobileprovision file that should be in my built .app file is missing - does anyone know what would cause this particular part of the problem to happen? I suspect it could be the root cause.

Moreover, does anyone have any other suggestions as to how I might correct this issue?

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

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

发布评论

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

评论(1

扛起拖把扫天下 2024-09-20 15:20:09

在developer.apple.com 中的代理帐户上

您必须创建分发证书

您还必须创建分发配置文件。

下载这两个文件并将它们拖到 xcode 上。

在项目的目标信息中,您需要转到代码签名部分并确保您已选择分发配置文件。

您可能需要做的另一件事是创建一个权利文件,在“代码签名权利”下声明此文件,如苹果页面上所述

http://developer.apple.com/iphone/manage/distribution/index.action

on the agent account in developer.apple.com

You must create a distribution certificate

You must also create a Distribution Provisioning Profile.

Download both of these and drag them onto xcode.

In the target info for your project you need to go to the code signing section and make sure you have selected your distribution profile.

Another thing you may need to do is create an entitlements file, declare this under 'code signing entitlements' as described on the apple page here

http://developer.apple.com/iphone/manage/distribution/index.action

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