Icon.png问题(在顶级应用包装器下找不到Info.plist中指定的图标:Icon.png(-19007)) [英] Problem with Icon.png (Icon specified in the Info.plist not found under the top level app wrapper: Icon.png (-19007))

查看:168
本文介绍了Icon.png问题(在顶级应用包装器下找不到Info.plist中指定的图标:Icon.png(-19007))的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在整理一个通用应用程序,我的项目中有图标,但我不断收到编译器关于Icon.png的警告。

I'm putting together a universal app and I have the icons in my project, but I keep getting a warning from the compiler in regards to Icon.png.

我按照 http://developer.apple.com/上的说明进行操作library / ios / #qa / qa2010 / qa1686.html 但仍然出现上述错误。

I followed the instructions at http://developer.apple.com/library/ios/#qa/qa2010/qa1686.html but still get the above error.

我尝试过以下操作:

将图标放在共享组中,并根据技术说明根据plist添加它们。
更改图标路径以添加共享/指向它们以指向共享文件夹。

Putting the icons in the Shared group and adding them according to the plist according to the tech note. Changing the icon paths to add Shared/ to them to point to the shared folder.

创建资源组(技术说明未指出XCode没有为通用应用程序创建资源组并将它们移动到那里(我从plist中删除了Shared /前缀。)

Creating a Resources group (which the tech note fails to point out that XCode doesn't create a Resources Group for a universal app) and moving them into that (I removed the "Shared/" prefixes from the plist.)

移动图标到了项目的最高层。

Moving the icons to the top level of the project.

我还仔细检查了图标大小,它们都是正确的,以及每个图标的名称。

I've also double-checked the icon sizes and they are all correct, as well as the names of each.

我可能错过了什么?

推荐答案

出于某种原因(可能是添加多个图标并更改文件?)项目移动到项目1 -...
确保您的图标列为项目0 plist中

For some reason the (possibly when adding multiple icons and changing the file?) the item gets moved to item 1-... Make sure your icon is listed as item 0 in the plist

这篇关于Icon.png问题(在顶级应用包装器下找不到Info.plist中指定的图标:Icon.png(-19007))的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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