xcode 无效的捆绑结构 - 不包括有效载荷目录

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25644173/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 05:29:03  来源:igfitidea点击:

Invalid Bundle Structure - Does not include a Payload Directory

iosxcodebundlepayload

提问by Bharath Raj

After I've uploaded binary to iTunes, I got "Invalid Binary" and this mail:

在我将二进制文件上传到 iTunes 后,我收到了“无效的二进制文件”和这封邮件:

Dear Developer,

We have discovered one or more issue with your recent delivery. To process your delivery, the following issue must be corrected: Invalid Bundle Structure - Your package contains a bundle with the following issue: IPA bundle does not include a Payload Directory. Once these issues have been corrected, you can then redeliver the corrected binary.

Regards, The App Store team

亲爱的开发者,

我们发现您最近的交货有一个或多个问题。要处理您的交付,必须更正以下问题:无效的捆绑结构 - 您的包裹包含具有以下问题的捆绑:IPA 捆绑不包括有效载荷目录。更正这些问题后,您就可以重新交付更正后的二进制文件。

问候, App Store 团队

Used Software/Hardware 1)Game Maker Studio Professional 2)Xcode 5.1.1

使用的软件/硬件 1)Game Maker Studio Professional 2)Xcode 5.1.1

Actually in this new version we have added

实际上在这个新版本中我们添加了

  1. Facebook score Share
  2. Twitter Score Share
  3. Game Centre
  4. Push-notification
  5. and also added iAds with in-app-purchase to remove ads for 0.99$.
  1. Facebook 分数分享
  2. Twitter 分数分享
  3. 游戏中心
  4. 推送通知
  5. 并且还添加了带有应用内购买功能的 iAds 以 0.99 美元的价格移除广告。

I don't know what is payload directory.

我不知道什么是有效载荷目录。

Can any one help us to solve this issue?

任何人都可以帮助我们解决这个问题吗?

I've unsuccessfully tried: Invalid Binary Error

我尝试失败: 无效的二进制错误

  • I can not find payload folder in my archive
  • I can not find "CFBundleInfoDictionaryVersion" in my archive.
  • 我在我的档案中找不到有效载荷文件夹
  • 我在我的档案中找不到“CFBundleInfoDictionaryVersion”。

回答by Gui17aume

Just add the following item in your Info.plist:

只需在您的 Info.plist 中添加以下项目:

LSRequiresIPhoneOS | Boolean | YES

LS需要iPhoneOS | 布尔值 | 是的

Without it, the archive export is building an iOS IPA file with the OSX Applications folder :)

没有它,存档导出将使用 OSX Applications 文件夹构建一个 iOS IPA 文件:)

回答by PREMKUMAR

Open your Info.plist file and click plus(+) and write Info Dictionary Version which is 6.0 and clean app and upload it Again. now you get clear Idea.

打开您的 Info.plist 文件,然后单击加号 (+) 并编写 6.0 和清洁应用程序的 Info Dictionary Version 并再次上传。现在你有了清晰的想法。