应用程序图标显示默认,而不是IconSet [英] Application Icon Showing Default, not IconSet

查看:103
本文介绍了应用程序图标显示默认,而不是IconSet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有两个目标的应用程序,只是准备发货但是当我选择产品下的应用程序时,我仍然会在扩展坞和主窗口中看到带有纸,铅笔等的默认应用程序图标。

I have an app with two targets just about ready to ship but I still see the default app icon with the paper, pencil, etc. on the dock and in the main window when I select the app under Products.

我有一个带有16,32,128,256,512和1024的icon.iconset文件夹,全部跟随icon_XxX和icon_XxX @ 2x命名;在XCode中的产品下,我看到了我的16x16图标。在目标的摘要选项卡下,show-in-finder显示iconset文件夹确实是app图标设置,plist文件(sans iconset扩展名)也是如此。一切似乎都很好,但我仍然看到文档中的默认图标。我使用4.5但我在4.4.1中遇到了同样的问题。图标是pngs。

I have an icon.iconset folder with 16, 32, 128, 256, 512, and 1024, all following the icon_XxX and icon_XxX@2x naming; under Products in XCode I see my 16x16 icon. Under the targets' summary tab, show-in-finder shows that the iconset folder is indeed the app icon setting, as do the plist files (sans iconset extension). All appears to be well, yet I'm still seeing the default icon in the doc. I'm using 4.5 but I had the same problem in 4.4.1. Icons are pngs.

任何想法?提前致谢。

Any ideas? Thanks in advance.

推荐答案

问题解决了。 Build报告了转换iconset文件夹的成功操作,但是检查日志显示它拒绝了该文件夹,因为最多有10个文件;我有视网膜所需的每个尺寸,并将数字推到13,所以我删除了64 @ 2x和两个1024x1024文件,现在我看到了正确的图标。

Problem solved. Build was reporting successful operation in converting the iconset folder however examination of the logs showed that it was rejecting the folder because there is a maximum of ten files; I had every size needed for retina and that pushed the number to 13, so I removed the 64@2x and the two 1024x1024 files and now I see the right icon.

这篇关于应用程序图标显示默认,而不是IconSet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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