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))

查看:36
本文介绍了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添加它们.更改图标路径以将 Shared/添加到它们以指向共享文件夹.

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.

我可能错过了什么?

推荐答案

由于某种原因(可能是在添加多个图标和更改文件时?)项目被移动到 item 1-...确保您的图标在 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天全站免登陆