无法上传应用程序二进制到App

无法上传应用程序二进制到App

本文介绍了无法上传应用程序二进制到App Store的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们终于得到了在提交我们的第一个iPhone应用程序的应用程序商店(或试图)的观点,但我似乎无法获得iTunes Connect中接受上传

We've finally gotten to the point of submitting our first iPhone app to the app store (or trying to), but I can't seem to get iTunes Connect to accept the upload.

我已经通过这两个网站(你上传的二进制文件是无效的,签名是无效的,或者未与苹果提交证书签名。)和应用程序加载器企图(Info.plist的不包含CFBundleResourceSpecification)。

I've attempted through both the web site ("The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate.") and the Application Loader ("Info.plist does not contain a CFBundleResourceSpecification").

经过大量的阅读(包括),重新阅读,和google搜索,我可以说:

After lots of reading (including questions like these), re-reading, and googling, I can say that:


  • 我敢肯定,包标识符的AppID匹配。

  • 有一个的icon.png,这是一个57x57像素PNG文件,这是在Info.plist中的确切名称。

  • 我正在做一个设备,而不是模拟器,打造。

  • 签名过程成功:构建结果证明这一点,并运行 codesign -vvvv MyApp.app 表示没有问题

  • 里有路径ZIP文件没有奇怪的字符。

  • 我已经删除了build文件夹,并重新建立了二元好几次。

现在,这是事实,在内置应用程序,Info.plist中不包含 CFBundleResourceSpecification 键,但它并不清楚,我在这里说的价值应该来自何方,或还有什么我需要添加,使这项工作。 (我能找到使用苹果的搜索,唯一提及一些 ......但是,正如我上面提到的,code签名步骤正在取得成功,据我可以告诉。)

Now, it is true that in the built app, the Info.plist does not contain a CFBundleResourceSpecification key, but it's not at all clear to me where that value should come from, or what else I need to add to make this work. (The only reference I can find using Apple's search is some code signing release notes... but, as I mentioned above, the code signing step is succeeding, as far as I can tell.)

有没有人穿过我没有已经提到这个问题的任何解释运行?

Has anyone run across any explanations for this problem that I haven't mentioned already?

编辑:下面是从构建的code签名步骤(略删节)输出,FWIW:

Here's the (slightly redacted) output from the code signing step of the build, FWIW:

推荐答案

这个问题似乎一直是我使用的以及包括它按照在wiki 的说明。我的猜测是,X $ C $ç得到了由> 1 SDK的presence混淆,因此喜欢它应该找不到默认ResourceRules.plist。

The problem seems to have been that I was using json-framework in my app, and including it as an additional SDK per the instructions in the wiki. My guess is that XCode got confused by the presence of >1 SDK, and thus couldn't find the default ResourceRules.plist like it's supposed to.

我发现了两个解决方案(当然,解决办法,反正):

I found two solutions (well, workarounds, anyway):


  1. 使用code签署资源规则路径构建设置(默认情况下是空白)指定路径文件X code应该使用: $(SDKROOT)/ ResourceRules.plist 。这工作,和看起来的合理无害的,但令人沮丧的是在这个意义上,X code应该能算出这个自身。 (我发现在。

    I'm not sure whether this is a bug in XCode, or something wrong with json-framework but I've filed an issue on the latter just in case.

    更新,2010年6月30日:我提出的问题已被关闭,Brautaset先生打算删除项目的下一个版本(2.3)的SDK选项的支持。此外,,虽然谷歌code页仍存在了。

    UPDATE, 30 June 2010: the issue I filed has been closed, and Mr. Brautaset plans to remove support for the SDK option in the next release (2.3) of the project. Also, the code now lives on GitHub, though the Google Code pages still exist for now.

    这篇关于无法上传应用程序二进制到App Store的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 01:10