应用提交:无效二进制 - 无效签名 [英] App Submission: Invalid Binary - Invalid Signature

查看:32
本文介绍了应用提交:无效二进制 - 无效签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试向 iOS 应用商店提交更新.我将从 Buzztouch 应用程序转变为 Sprite Kit 应用程序.我能够归档 Xcode 项目并提交它.该应用程序进入上传接收状态,但大约一分钟后,它更改为无效二进制文件,我收到一封电子邮件,内容如下:

I am trying to submit an update to the iOS app store. I am going from a Buzztouch app to a Sprite Kit app. I am able to archive the Xcode project and submit it. The app gets to the status of Upload Received but than about a minute later, it changes to Invalid Binary and I get an email saying:

无效签名 - 确保您已使用分发证书而不是临时证书或开发证书对您的应用程序进行签名.验证 Xcode 中的代码签名设置在目标级别(覆盖项目级别的任何值)是否正确.此外,请确保您上传的包是使用 Xcode 中的 Release 目标构建的,而不是 Simulator 目标.如果您确定您的代码签名设置正确,请在 Xcode 中选择Clean All",在 Finder 中删除build"目录,然后重建您的发布目标.

Invalid Signature - Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target.

更正这些问题后,请转到版本详细信息"页面并单击准备上传二进制文件".继续提交过程,直到应用程序状态为等待上传".然后,您可以交付更正后的二进制文件.

Once these issues have been corrected, go to the Version Details page and click "Ready to Upload Binary." Continue through the submission process until the app status is "Waiting for Upload." You can then deliver the corrected binary.

我已经清理了构建目录,重建了我的发布目标,并多次创建了新的配置文件.所有代码签名身份都设置为 iOS Developer.代码签名和配置文件一直让我有点困惑,我可能犯了一些明显的错误.

I have cleaned out the build directory, rebuilt my release target, and made new provisioning profiles multiple times. All of the Code Signing Identities are set to iOS Developer. Code signing and the provisioning profiles have always been a little bit confusing to me, I could have made some obvious mistakes.

我已经尝试提交超过 50 次了!我觉得这很令人沮丧,因为我已经给 Apple 发了电子邮件,他们回复了我,但这只是一个带有代码签名信息的开发中心的链接.我也花了很多时间在互联网上搜索以找到解决方案,但还没有一个很好的解决方案可以真正解决这个问题.

I have tried submitting over 50 times! I find this very frustrating because I have emailed Apple and they got back to me but it was just a link to the dev center with code signing information. I have also spent lots of time searching the Internet to find a solution to this and there hasn’t been a good solution that actually works for this problem.

我唯一能想到的要么是因为我正在从 Buzztouch 应用程序进行更改,要么是 Sprite Kit.

The only thing I can think of is either because I am changing from a Buzztouch app or it is Sprite Kit.

这是我的代码签名的屏幕截图:

Here is a screenshot of my code signing:

推荐答案

这是我在 Mac App Store 遇到类似问题时所做的:

This is what I did when I encountered a similar problem with the Mac App Store:

  1. 重新生成应用的分发和开发证书(来自 Apple Developer's Certificates 网站).
  2. 把两个证书都下载下来,拖到Xcode的图标上(不知道有没有影响,但是提交了这么多次失败,我很迷信).
  3. 从 Xcode 重新刷新证书和身份.
  1. Re-generate the app's Distribution and Development certificates (from the Apple Developer's Certificates site).
  2. Download both certificates and drag them to Xcode's icon (not sure whether it had any impact, but after so many submission failures, I was pretty superstitious).
  3. Re-fresh the certificates and identities from Xcode.
  1. 打开 Xcode 的首选项.
  2. 转到帐户"标签.
  3. 点击了我的帐户
  4. 点击了刷新按钮.

  • 生成存档.
  • 提交应用程序,然后在向导提示中的某处点击刷新签名身份".
  • 作为参考,这是我构建的与签名相关的设置.我上次提交该应用程序时,该应用程序有效(过去两天一直处于等待审核"状态,所以我猜它通过了他们所有的自动化测试).

    As a reference, here is my built settings related to signing. That one worked the last time I submitted the app (which has been in the "waiting for review" state for the past two days now, so I guess it passed all of their automated tests).

    这篇关于应用提交:无效二进制 - 无效签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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