Xcode 4 Icon Problem !

百般思念 提交于 2019-12-10 18:46:48

问题


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, 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.

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.


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/5999586/xcode-4-icon-problem

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!