itunesconnect iPhone 应用程序状态 - 无效的二进制文件

发布于 2024-09-18 18:32:50 字数 232 浏览 11 评论 0原文

每当我将应用程序提交到 itunesconnect 时,大约 10 分钟后,状态就会更改为“无效的二进制文件”,并且完全没有解释原因。

我到处寻找答案,但没有。我什至重新安装了 XCode 和 App loader。

请注意,应用程序加载器不会给出任何错误。

我使用 XCode 3.2.3 iPhone 4 GM Seed 基于 iPhone 4 SDK iPhone/iPad 作为目标系列进行构建

Whenever I submit my app to itunesconnect, after about 10 minutes, the status changes to "Invalid Binary" with absolutely no explanation why.

I have searched all over for answers there is non. I even re-installed XCode and App loader.

Note that App Loader doesn't give any errors whatsoever.

I build with XCode 3.2.3 iPhone 4 GM Seed iPhone 4 based SDK iPhone/iPad as a target family

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

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

发布评论

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

评论(11

谈场末日恋爱 2024-09-25 18:32:50

即使应用程序加载器接受了我的二进制文件,我也从 iTunes Connect 中得到了相同的 INVALID BINARY 错误。解决方案非常简单...

打开您的info.plist,右键单击并选中显示原始键/值

  • CFBundleIconFile = Icon.png(我的iPhone 57x57 PNG图标) )
  • CFBundleIconFile~ipad = Icon-72.png(我的 ipad 72x72 PNG 图标)
  • CFBundleIconFiles = 数组
    • 项目 0 = Icon.png
    • 第 1 项 = [电子邮件受保护](我的 iPhone 4 114x114 PNG 图标)
    • 项目 2 = Icon-72.png

保存、清理所有目标、构建和分析、压缩查找并重新提交!

该错误是因为我输入了“图标文件”键而引起的。在原始视图中,这已映射到“图标文件”而不是 CFBundleIconFiles。我有 Xcode 3.2.3,我猜 Xcode 3.2.4 更好地映射了这个关键标识符。

祝大家好运!

资料来源:技术问答 QA1686:iPad 和 iPhone 上的应用程序图标

I had the same INVALID BINARY error from iTunes Connect even if Application Loader accepted my binary. The solution was very simple...

Open your info.plist, right-click and check Show Raw Key/Values:

  • CFBundleIconFile = Icon.png (my iPhone 57x57 PNG icon)
  • CFBundleIconFile~ipad = Icon-72.png (my ipad 72x72 PNG icon)
  • CFBundleIconFiles = array
    • Item 0 = Icon.png
    • Item 1 = [email protected] (my iPhone 4 114x114 PNG icon)
    • Item 2 = Icon-72.png

Save, clean all targets, build and analyze, compress in Finder and resubmit!

The error was caused because I typed the key "Icon Files". In Raw view, this has mapped to "Icon Files" instead of CFBundleIconFiles. I have Xcode 3.2.3, I guess Xcode 3.2.4 better maps this key identifier.

Good Luck everybody!

Source: Technical Q&A QA1686: App Icons on iPad and iPhone

别再吹冷风 2024-09-25 18:32:50

“无效的二进制文件”确实花了我 4 天的时间才弄清楚。因为我偶然发现了这个有用的页面,所以我想帮助您节省宝贵的时间。就我而言,在配置门户中,一位同事撤销了分发证书,建立了一个新的分发证书,但没有让我知道。您可以使用新证书来制作新的 prov 文件,并且在构建过程中,xcode“认为”一切正常。当然不是。仅在上传到 itunes connect 后,您才会看到“无效的二进制文件”注释,而无需进一步说明。解决方案是通过整个证书请求程序(再次)撤销证书并制作新证书。使用它作为证书,你会没事的 - 不再出现未注释的“无效二进制文件” - 如果您与其他人共享 tzh eteam 代理对门户的访问权限,请确保让他们知道并移交您的新 .p12 密钥文件。

The "invalid Binary" did cost me 4 days to figure out. and because I stumbled over this helpful page, I want to help saving you the valuable time. In my case, in the provisioning portal, a colleague revoked the distribution cetrificate, built a new one and did not let me know. You can use the new certificate for making new prov files, and in the build process, xcode "thinks" everything is all right. which of course is not. Only after uploading to the itunes connect you see the "Invalid Binary" note without further explanantions. The solution was to revoke the certifikate (again) with the whole certificate request procedure and make a new one. Use this as the certificate, and you will be fine - no more uncommented "Invalid Binary" - and if you share tzh eteam agent access to the portal with others, make sure, you let them know and hand over your new .p12 key file.

缺⑴份安定 2024-09-25 18:32:50

这个话题很老了,但我今天遇到了同样的问题,也许我的解释将来会对某人有所帮助。

通过 Xcode 4 组织者提交应用程序时,您必须选择分发配置文件。确保这与您在构建设置(项目和目标)中设置的配置文件完全相同。对于我的几乎所有项目,我不必将构建设置从开发更改为分发,并且在提交时仅在组织者中选择分发就足够了。但在一种情况下,这会导致 iTunes Connect 出现“无效二进制”错误。

The topic is old but i had the same problem today and maybe my explanation will help somebody in future.

While submitting app by Xcode 4 organizer you have to choose distribution profile. Make sure this is exactly the same profile which you set in build settings (project and target). For almost all my projects i didn't have to change build settings from development to distribution and it was fairly enough to choose distribution only in organizer while submitting. But in one case this resulted "Invalid Binary" error in iTunes Connect.

蓝咒 2024-09-25 18:32:50

Apple 最近改进了有关此问题的错误报告,现在您将收到一封电子邮件,相应地突出显示该问题。请耐心等待,可能需要几分钟才能进入。我收到了以下电子邮件,其中强调了该问题:

尊敬的开发者,

我们发现您最近提交的“XXX.APP”二进制文件存在一个或多个问题。在您的应用接受审核之前,必须纠正以下问题:

无效的图标路径 - 在键“CFBundleIcons”下引用的路径中找不到图标:xxxIcon.png

纠正这些问题后,请转到“版本详细信息”页面并单击“准备上传二进制文件”。继续完成提交过程,直到应用程序状态为等待上传,然后使用应用程序加载器上传更正后的二进制文件。

问候,

iTunes Store 团队

Apple has improved the error reporting on this recently and now you will get an email that highlights the problem accordingly. Just be patient it may take a few minutes to come in. I received the following email which highlighted the problem:

Dear Developer,

We have discovered one or more issues with your recent binary submission for "XXX.APP". Before your app can be reviewed, the following issues must be corrected:

Invalid Icon Path - No icon found at the path referenced under key "CFBundleIcons": xxxIcon.png

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 and then use Application Loader to upload the corrected binary.

Regards,

The iTunes Store Team

红玫瑰 2024-09-25 18:32:50

我遇到了同样的问题,以下是我解决它的方法:

  1. CFBundleIconFile 未列出,而是图标文件和图标文件。将图标文件更改为图标文件选择。现在单击图标文件标签旁边的左箭头以展开列表。您将看到项目 0,选择项目 0,然后单击右侧的加号按钮添加另一个项目。然后您应该看到第 1 项。在第 0 项中输入您的 56x56 图标文件名,在第 1 项中输入您的 72x72 图标文件名。保存信息列表

  2. 因为我希望此应用程序同时适用于 Iphone/Ipad,所以我选择:

    • 架构为标准(您将收到警告,但如果您更改为仅 armv7 进行无警告构建,则二进制文件将被 itunesconnect 拒绝)
    • 基础 SDK 为 3.2
    • 目标设备系列为 Iphone/iPad
    • iOS 部署目标为 3.2
  3. 现在为应用程序商店分发构建,压缩并上传到 itunes connect。

I had this same problem and here is how I resolved it:

  1. The CFBundleIconFile is not listed instead Icon File and Icon Files. Change the Icon File to the Icon Files selection. Now click the left arrow next to the Icon Files label to expand the list. You will see Item 0, select Item 0 and then click the plus button to the right to add another item. You should then see Item 1. Enter your 56x56 icon file name in Item 0 and your 72x72 icon file name in Item 1. Save the info list

  2. Since I want this app to be both Iphone/Ipad I choose:

    • Architecture as Standard (you will get a warning but if you change to only armv7 for a no warning build, the binary will be rejected by itunesconnect)
    • Base sdk as 3.2
    • Target Device family as Iphone/iPad
    • iOS Deployment Target as 3.2
  3. Now build for app store distribution, compress and upload to itunes connect.

往事随风而去 2024-09-25 18:32:50

我也有同样的问题。应用程序停留在“上传已接收”状态超过 5 天。在联系 Itunes Connect 支持主题“管理您的应用程序”和“上传已收到”并回答不必要的问题后,应用程序状态更改回“无效的二进制文件”。在搜索建议检查图标文件的解决方案后,我发现了另一个检查证书的提示。

这就是我的解决方案:我使用 Mac 的 KeyChaining 工具重新创建了分发证书,现在使用 RSA 私钥而不是 DSA。这很有帮助。我重新上传了应用程序,几分钟后状态变为“等待审核”。

I had the same problem. App stucks in "Upload Received" status for more than 5 days. After contacting the Itunes Connect Support with the topics "Manage Your Applications" and "Upload received" and answering unnecessary questions, the App Status changed back to "Invalid Binary". After searching for solutions which recommended to check the icons files I found another tip to check the certificate.

That was my solution: I recreated a distribution certificate with Mac's KeyChaining tool and now used a RSA private key instead of DSA. That helped. I re-uploaded the App and the status changed to "Waiting for Review" few minutes later.

司马昭之心 2024-09-25 18:32:50

我来这里是为了同样的问题,尝试了应用程序启动器更新等等。我尝试重新启动并重新提交十几次,一次又一次手动编辑 info.plist。对我来说,解决方案是注意到现在有一​​个“图标文件”和“图标文件(iOS5)”条目。检查这两个是否有对移动图标的错误引用。

I came here for the same issue, tried the App Launcher update, et cetera. I tried rebooting and resubmitting a dozen times, manually editing the info.plist again and again. For me the solution was noticing that there is now an "Icon files" AND and "Icon files (iOS5)" entry. Check both of these for a bad reference to moved icons.

双马尾 2024-09-25 18:32:50

你压缩了二进制文件吗?可能想尝试一下。

来自 iTunesConnect 开发人员指南:

应用程序二进制和小应用程序图标
保持文件大小尽可能小
可能,都是为了方便上传
通过 iTunes Connect,并且对于
最终用户的购买体验。这
二进制文件必须是压缩文件,并通过
上传时进行代码签名检查
iTunes 连接。

iPhone 和 iPod touch:
如果您要上传要运行的应用程序
iPhone 和 iPod touch,二进制文件必须
包括一个 57x57 像素的图标,
它将显示在主页上
查看时的屏幕和 App Store
来自 iPod touch 和 iPhone。你
还可以选择包含高分辨率
图标大小为 114x1144 像素
Retina 显示屏的优势
iPhone 4。

iPad:如果您正在上传
要在 iPad 上运行的应用程序,二进制文件必须
包括两个图标:一个是 50x50
像素和一个 72x72 像素,
这将显示在iPad上
主屏幕和 App Store 时
在 iPad 上查看。

Did you zip the binary? Might want to try that.

From the iTunesConnect Developer Guide:

Application Binary and Small App Icons
Keep the file size as small as
possible, both for ease of upload
through iTunes Connect, and for the
end-user’s purchase experience. The
binary must be a zipped file, and pass
a code sign check upon upload in
iTunes Connect.

iPhone and iPod touch:
If you are uploading an app to run on
iPhone and iPod touch, the binary must
include an icon that is 57x57 pixels,
which will be displayed on the home
screen and the App Store when viewed
from the iPod touch and iPhone. You
can also optionally include a hi-res
icon that is 114x1144 pixels to take
advantage of the Retina display on
iPhone 4.

iPad: If you are uploading
an app to run on iPad, the binary must
include two icons: one that is 50x50
pixels and one that is 72x72 pixels,
which will be displayed on the iPad
home screen and the App Store when
viewed on the iPad.

Oo萌小芽oO 2024-09-25 18:32:50

如果一切都失败了,请重新启动,重新启动,重新启动。在我的应用程序被接受之前,我最终重新启动并重新提交了五次(老实说,没有进行其他更改)。

If all else fails, reboot, reboot, reboot. I ended up rebooting and resubmitting five times (making no other changes, honestly) before my app was accepted.

油焖大侠 2024-09-25 18:32:50

还有其他一些事情需要尝试。

如果您有旧的 xcode 3.2 Entitlements.plist 文件。
删除它并重新创建>新文件>代码签名>权利。

检查归档配置
产品>编辑方案>存档>构建配置
确保选择了正确的一项。 (对我来说,选择了发行版,但我需要发行版配置文件 - 您的配置文件可能会有所不同)

A couple of other things to try.

if you have an old xcode 3.2 Entitlements.plist file hanging around.
Delete it and recreate > New File > Code Signing > Entitlements.

Check the configuration for Archiving
Product > Edit Scheme > Archive > Build Configuration
Make sure the correct one is selected. (for me Release was selected but I needed Distribution profile - yours may vary)

红尘作伴 2024-09-25 18:32:50

由于一些基本原因,您的二进制最终被拒绝。

例如,

1)在项目的信息选项卡中检查“图标文件”选项。

如果您的应用程序是通用图标文件,则应为 4 或 <4 *不得超过。
如果您的应用程序仅适用于一台设备,则图标文件应该为 2 或 <2。 *不能再多了。
图标文件应符合 itunes 指南。 itunes 指南链接

2) 必须如果您的应用程序没有任何启动画面,请检查启动画面,然后在两种设备的通用设置中提供空白的启动画面。

3) 如果您要更新应用程序,请检查以前上传的应用程序和您的应用程序的二进制版本。您的应用程序必须有更高的版本才能上传。

4)还检查捆绑包名称和版本。

your Binary final rejected because of some basic reasons.

like,

1)Check For 'icon files' option in info tab of project.

if your app is Universal icon files should be 4 or <4 *must not more then.
if your app is for one device only the icon file should be 2 or <2. *must not more then.
Icon files should be as per itunes Guide. itune guide Link

2)Must check that for splash screen if your app does not have any splash then also give blank splash screen.in universal set for both device.

3) if you are updating app then check for binary version of previous uploaded app and your app.your app must have grater version then uploaded.

4) check for Bundle name and version also.

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