Xcode - ITMS 错误(90022、90023)

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

Xcode - ITMS errors (90022, 90023)

iosxcodeiconsplistinfo.plist

提问by Jules

I have been trying to upload my App to iTunes Connect so I can use it in testflight. I managed to do this earlier this year, but now I get the following errors:

我一直在尝试将我的应用程序上传到 iTunes Connect,以便我可以在 testflight 中使用它。今年早些时候我设法做到了这一点,但现在出现以下错误:

ERROR ITMS-90022: Missing required icon file
ERROR ITMS-90023: Missing required icon file

As the error message say, I'm missing some icon files. I have tried to manually create the icons (before I've used Asset Catalog Creater), but I still get the errors. I than generated the icons again to see if it would solve some errors.

正如错误消息所说,我缺少一些图标文件。我曾尝试手动创建图标(在我使用 Asset Catalog Creater 之前),但我仍然遇到错误。我然后再次生成图标,看看它是否会解决一些错误。

I have used this linkto learn the probably something is wrong in my info.plist. I than used a QA page from Appleto manually add the icons with out the xcassets. Still with no luck.

我已使用此链接了解我的 info.plist 中可能有问题。我使用AppleQA 页面手动添加不带 xcassets 的图标。仍然没有运气。

I'm stuck at this point and was hoping someone here could help me solve this problem.

我被困在这一点上,希望这里有人可以帮助我解决这个问题。

If you want to test it, my code is available on GithubTried the above on Xcode 7.0.1 and Xcode 7.1 Beta 3

如果你想测试它,我的代码在Github上可用在 Xcode 7.0.1 和 Xcode 7.1 Beta 3上尝试了上述

Screenshots:

截图:

ITMS Errors

ITMS 错误

Info.plist

信息表

xcassets appicon

xcassets 应用程序图标

采纳答案by Jules

I was able to solve those errors by deleting the archive from the organizer view, than preforming a clean build and recreating the archive. At this time, i noticed that my app icon was also visible in de organizer view (it was the placeholder when you don't have an app icon before).

我能够通过从组织者视图中删除存档来解决这些错误,而不是执行干净的构建并重新创建存档。这时,我注意到我的应用程序图标在 de Organizer 视图中也是可见的(它是您之前没有应用程序图标时的占位符)。

At this time, iTunesConnect says that my build is processing so it should be available soon.

目前,iTunesConnect 表示我的构建正在处理中,因此应该很快可用。

回答by Vaibhav Saran

I think it was asking icon for iPad Pro which is 83.5@2x (167x167). I added this icon in my asset catalog and error disappeared.

我认为它要求 iPad Pro 的图标是 83.5@2x (167x167)。我在我的资产目录中添加了这个图标,错误消失了。