Xcode 4 图标问题!
我的问题是:
Icon specified in the Info.plist not found under the top level app wrapper: Icon.png (-19007)
我已经完全按照苹果文档的说明进行操作,但仍然收到此警告! 我已完成所有设置,所有内容均为 PNG,大小正确,Info.plist 添加了包含 6 个项目的图标文件(Icon.png,[电子邮件受保护], Icon-72.png, Icon-Small-50.png、Icon-Small.png、[电子邮件受保护])
我已经尝试了在不同网站上找到的所有方法,但这些解决方案都不适合我。
有人请帮帮我吗?我在进行调试构建时没有收到此警告,但在进行分发构建时会出现此警告。
以前我从来没有遇到过这个问题。
My problem is:
Icon specified in the Info.plist not found under the top level app wrapper: Icon.png (-19007)
I've done exactly what Apple documentation says and I'm still getting this warning!
I have everything set, everything is in PNG, the size is correct, Info.plist has added Icon files with 6 items (Icon.png, [email protected], Icon-72.png, Icon-Small-50.png, Icon-Small.png, [email protected])
I have tried all the ways which I found in different website but none of these solution work for me.
Anyone please help me? I didn't get this warning while I'm doing Debug build but this comes out when I'm doing Distribution build.
Previously I never encounter this problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
确保您的图标位于项目的根目录中。或者,您可以从目标的摘要选项卡中选择要使用的应用程序图标,Xcode 会自动将所选图标复制到项目的根目录。
Make sure that your icon is in the root of your project. Or you can select the app icon you want to use from the target's summary tab and Xcode will automatically copy the selected icon to the root of the project.
我有 iphone 和 ipad 图标。
首先我删除了 ipad 目标。
我解决了这个问题,手动编辑 info.plist 文件并删除现有的引用。
一切都非常简单快捷,但很难找到解决方案。
I had iphone and ipad icon.
First I removed ipad target.
I solved it, editing info.plist file manually and deleting no existing reference.
All very simple and quick, but difficult to find the solution.