Xcode 4图标问题! [英] Xcode 4 Icon Problem !

查看:58
本文介绍了Xcode 4图标问题!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是:

Icon specified in the Info.plist not found under the top level app wrapper: Icon.png (-19007)

我完成了Apple文档所说的内容,我仍然收到此警告!
我已设置好所有内容,一切都在PNG中,大小正确,Info.plist已添加带有6个项目的Icon文件(Icon.png,Icon @ 2x.png,Icon-72.png,Icon-Small- 50.png,Icon-Small.png,Icon-Small @ 2x.png)

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, Icon@2x.png, Icon-72.png, Icon-Small-50.png, Icon-Small.png, Icon-Small@2x.png)

我已尝试过在不同网站上找到的所有方法但这些解决方案都没有为我工作。

I have tried all the ways which I found in different website but none of these solution work for me.

有人请帮帮我吗?我正在进行Debug构建时没有收到此警告,但是当我正在进行分发构建时,这就出现了。

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.

推荐答案

确保您的图标位于项目的根目录中。或者您可以从目标的摘要选项卡中选择要使用的应用程序图标,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.

这篇关于Xcode 4图标问题!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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