无效的二进制错误 [英] Invalid Binary Error

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

问题描述

今天早上我已经提交了现有应用程序的更新。更新很小,几乎没有任何变化。 Apple现已向我发送此电子邮件,说明..

An update for an already existing app I have was submitted this morning. The update was very minor barely any changes were made. Apple has now sent me this email stating..

以下问题必须更正:..

the following issues must be corrected:..

无效的包结构 - 您的包中包含一个包含以下问题的包:IPA包不包含有效负载目录。

如何解决此问题?

推荐答案

好的,我的答案已被删除,因为它不是问题的答案。
我没有足够的积分评论你的问题(这是我试图做的,因为我显然没有答案 - 和你一样的问题,并试图弄清楚为什么我们得到这个无效的二进制文件错误)

Ok, my answer has been deleted because it was not an answer to the question. I do not have enough points to comment your question (that's what I tried to do because I obviously don't have the answer — just the same problem as you and trying to figure out why we're getting this Invalid Binary error)

正如我在第一篇文章中所说:我会让你及时了解最新消息。
今天,我创建了一个新的Xcode项目,其捆绑ID与我尝试上传一周的应用程序相同。它通过服务器端预验证,我收到一封邮件称其为等待审核。
它回答了我从一开始就遇到的一个问题:这不是服务器问题(我认为Apple在预验证过程中存在一些问题)。
我试图在这个新项目中使用架构(例如,我只使用armv7 arch用于我的应用程序,因为它与第三方库不兼容)。仍然通过服务器验证。

As I said in my first post: I'll keep you up to date. Today, I created a new Xcode project, with the same bundleID as the app I try to upload for a week now. It passes through the server-side pre-validation and I received a mail saying it's "Waiting for Review". It answers one question I had since the beginning: It's not a server problem (I thought Apple had some issues with the pre-validation process). I tried to play with architectures on this new project (for example, I only use armv7 arch for my App because of some incompatibility with third-part libraries). Still passes the server validation.

然后,我尝试将Info.plist文件从我的应用程序复制到通过服务器验证的新示例项目:BANG - > Invalid二进制!
这个info.plist很旧,从Xcode 3.0开始使用
我试图从中删除一些可选键:仍然无效的二进制
然后,我将原始和所需的键与一个新项目进行比较info.plist文件:砰!
CFBundleInfoDictionaryVersion值为空。在新项目中,值为6.0。
我只是为CFBundleInfoDictionaryVersion键设置6.0并且繁荣,它起作用了。
我的猜测是Apple的服务器正在检查info.plist文件并需要一个正确的CFBundleInfoDictionaryVersion值才能读取.plist文件。而且我认为自从Xcode 5.1.1以来它没有发生,他们必须在Xcode 5.1.1的发布中更新他们的服务器,就是这样。

Then, I tried to copy the Info.plist file from my app to the new sample project which passes the server validation: BANG -> Invalid Binary!! This info.plist is quite old, used since Xcode 3.0 I tried to remove some optional keys from it: still invalid binary Then, I compared the original and needed keys with a new project's info.plist file : bang! The "CFBundleInfoDictionaryVersion" value was empty. On a new project, the value is "6.0". I simply set "6.0" for CFBundleInfoDictionaryVersion key and boom, it worked. My guess is that Apple' servers are checking the info.plist file and needs a proper CFBundleInfoDictionaryVersion value in order to read the .plist file. And I think it's not happening since Xcode 5.1.1, they must have updated their server among with the release of Xcode 5.1.1, that's all.

Jeez,我可以我不相信它是多么愚蠢。令人遗憾的是,Apple没有提供全面的反馈。
希望它对你有用!让我知道!

Jeez, I can't believe how dumb it was. It's a shame that Apple does not provide a comprehensive feedback. Hope it will work for you! Let me know!

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

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