你如何定义CFBundleIcons,CFBundleIconFiles,CFBundleIconFile? [英] How do you define CFBundleIcons, CFBundleIconFiles, CFBundleIconFile?

查看:162
本文介绍了你如何定义CFBundleIcons,CFBundleIconFiles,CFBundleIconFile?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次向App Store提交应用程序,所以请耐心等待。我正在使用iOS 6.0。

This is my first time submitting an app to App store, so please bear with me. I'm using iOS 6.0.

我已经设法进入最后一步,我需要验证并将我的应用程序提交给Apple进行评估,以便将其放到AppStore上。但是,在最后,它在验证期间给了我这个错误消息:

I have managed to get to the last step, where I needed to validate and submit my app to Apple for evaluation to be put onto AppStore. However, at the very end, it gave me this error message during validation:

因此,我检查了Info.plist文件,以确保我已经包含了应用程序的所有必要图标。我确实拥有它们。

So, I checked the Info.plist file to made sure that I had included all neccessary icons for the app. I did have them all.

这是我的info.plist:

This is my info.plist:

在图标文件,图标文件和图标文件(iOS 5)下),我确实提供了默认的57x57图标,iPad图标和iPhone图标。它们出现在项目文件的同一目录中。

Under "Icon file", "Icon files", and "Icon files (iOS 5)", I did provide a default 57x57 icon, an icon for iPad, and an icon for iPhone. They are present in the same directory of the project file.

我在这里缺少什么? (我尝试添加名为CFBundleIcons / File / Files的条目,但没有添加此类条目)。

What am I missing here? (I tried to add entries called "CFBundleIcons/File/Files", but there were no such entries to be added).

在我遵循rmaddy的建议后,下面是我更新的info.plist:

Below is my updated info.plist after I followed rmaddy's advise:

现在所有图标文件都已使用正确的尺寸正确更新(摘要选项卡上的图像上没有警告黄色三角形)。为什么我仍然收到同样的错误消息?还有什么我想念的?

Now that all the icon files have been updated properly with the correct dimensions (no warning yellow triangle over the images on the Summary tab). Why am I still getting this same error message? What else do I miss?

推荐答案

确保所有图标和启动图像设置正确的最简单方法是去Xcode中项目目标(或多个目标)的摘要选项卡。在摘要选项卡上有一个用于iPhone / iPod touch部署信息的部分,另一个用于iPad部署信息。在这两个部分中的每一部分都是应用程序图标和启动图像的位置。单击每个并加载正确的图像。如果出现黄色警告三角形,则图像尺寸错误或可能出现其他问题。以这种方式填写所有图像将使用正确的条目正确更新您的Info.plist。

The simplest way to ensure all of your icons and launch images are setup correctly is to go to the Summary tab for your project's target (or targets if more than one) in Xcode. On the Summary tab is a section for iPhone / iPod touch Deployment Info and another for iPad Deployment Info. In each of these two sections is a place for App Icons and Launch Images. Click on each and load the proper image. If a yellow warning triangle appears then the image is the wrong size or possible some other issue. Filling in all of the images this way will properly update your Info.plist with the correct entries.

您发布的屏幕清楚地表明您正试图放置启动图像(Default.png)和您的图标所属的一些屏幕截图。 Default.png是一个启动图像。屏幕截图不会出现在项目中的任何位置。它们在iTunes Connect上加载。

The screen you posted makes it clear you are trying to put the launch image (Default.png) and some screen shots where your icons belong. Default.png is a launch image. The screen shots don't go anywhere in your project. They get loaded at iTunes Connect.

这篇关于你如何定义CFBundleIcons,CFBundleIconFiles,CFBundleIconFile?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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