缺少必需的图标文件。捆绑包不包含 [英] Missing required icon file. The bundle does not contain

查看:126
本文介绍了缺少必需的图标文件。捆绑包不包含的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是错误消息:


ITunes Store操作失败。缺少必需的图标文件。捆绑销售额
不包含iPhone / iPod Touch的应用程序图标,完全为
120x120像素,iOS版本的.png格式> = 7.0。

ITunes Store operation failed. Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly "120x120" pixels, in .png format for iOS versions >= 7.0.

我在将应用程序提交到应用程序商店时遇到此问题,我在验证项目时遇到了这个问题,我在stackoverflow中尝试了所有答案,但错误是相同的。

推荐答案

在Xcode中打开项目的常规首选项,并确保您的应用程序图标源是资产目录名为AppIcon:

Open your project's General Preferences in Xcode, and make sure that your App Icons Source is the Asset Catalog named "AppIcon":

然后,在项目导航器中,单击Images.xcassets,单击AppIcon,然后将图标拖放到所需位置。如果未显示AppIcon,则必须右键单击并选择新建应用程序图标,然后从右侧的检查器中选择正确的图标:

Then, in the project navigator, click Images.xcassets, click AppIcon, and then drag and drop your icons into the required places. If AppIcon is not shown, you'll have to right click and choose "New App Icon" and then select the proper icons from the inspector on the right:

一旦你完成了这个,你的图标应该显示在他们应该的位置。

Once you've done this, your icons should show up where they're supposed to.

这篇关于缺少必需的图标文件。捆绑包不包含的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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