Xcode 7 错误 ITMS-90474:“无效的捆绑包”,无法提交给 Apple

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/32728711/
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-08 18:12:04  来源:igfitidea点击:

Xcode 7 ERROR ITMS-90474: "Invalid Bundle", can't submit to Apple

xcodexcode7bundle

提问by ChallengerGuy

I have an app I'm trying to submit to Apple. I've already validated it. I'm using Xcode 7 and Swift 2. When I try to submit to Apple, I get the following error:

我有一个应用程序要提交给 Apple。我已经验证过了。我使用的是 Xcode 7 和 Swift 2。当我尝试提交给 Apple 时,出现以下错误:

ERROR ITMS-90474: "Bundle Invalid. iPad Multitasking support requires there orientations: 'UIInterfaceOrientationPortrait,UIIinterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait' in bundle.

错误 ITMS-90474:“捆绑无效。iPad 多任务支持需要方向:'UIInterfaceOrientationPortrait,UIIinterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'。在捆绑中找到'UIInterfaceOrientationPortrait'。

What do I do? Do I make some images with the names they ask for?

我该怎么办?我是否用他们要求的名字制作一些图像?

回答by Rhenz

Checking Requires full screenunder Deployment Info in Project's General tabwill solve this issue.

Requires full screen在部署信息下检查Project's General tab将解决此问题。

enter image description here

在此处输入图片说明

回答by Arun

ERROR ITMS-90474 & ITMS-90475 in Xcode Archive Submission failed ERROR ITMS-90474 : Xcode 7 shows error in Archive Submission

Xcode 存档提交中的错误 ITMS-90474 和 ITMS-90475 失败错误 ITMS-90474:Xcode 7 在存档提交中显示错误

Error Screen (ERROR ITMS-90474 & ITMS-90475)

错误屏幕(错误 ITMS-90474 和 ITMS-90475)

ERROR ITMS-90474 & ITMS-90475

错误 ITMS-90474 和 ITMS-90475

Solution for ERROR ITMS-90474 & ITMS-90475:

ERROR ITMS-90474 & ITMS-90475 的解决方案:

enter image description here

在此处输入图片说明

Guidelines

指南

From Xcode project, TARGETS >> - iOS >> General >> Deployment Info >> In iPad, If you tick (Requires full screen) option , it is OK!

从 Xcode 项目中,TARGETS >> - iOS >> General >> Deployment Info >> In iPad,如果您勾选 (Requires full screen) 选项,就可以了!

回答by Nick Hung

TARGETS > iOS > General > Deployment Info > Select "iPad" tab

目标 > iOS > 常规 > 部署信息 > 选择“iPad”选项卡

,Then Check 『Requires full screen』

,然后勾选『需要全屏』

from http://nijoen.net/blog/261/

来自http://nijoen.net/blog/261/

回答by delrox

Instead of changing the status bar setting, you can actually just follow the instructions from apple and support all 4 orientations in iPad section of settings. I had disabled upside-down, and simply enabling upside-down fixed the issue. Apple seems to want apps to run upside down, so we might as well support that.

无需更改状态栏设置,您实际上只需按照 Apple 的说明进行操作,并在 iPad 设置部分支持所有 4 个方向。我禁用了倒置,只需启用倒置即可解决问题。Apple 似乎希望应用程序颠倒运行,所以我们不妨支持一下。

回答by ChallengerGuy

Did some research and noticed I had my universal app Device Orientationset to portrait. I had unchecked Landscape Left, Landscape Right, and Upside Down. Selected those and all set now.

做了一些研究,发现我的通用应用程序Device Orientation设置为纵向。我没有选中Landscape Left, Landscape Right, 和Upside Down。选择这些,现在全部设置。