Xcode 4.1存档在组织者中构建不显示图标 [英] Xcode 4.1 Archive Build in organizer doesn't show icon

查看:75
本文介绍了Xcode 4.1存档在组织者中构建不显示图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序图标在iPad和iPhone上显示时工作正常,但是在我构建存档并创建存档后,没有显示图标。有任何想法吗?我环顾了几个论坛,但没有找到解决方案。我实际上不相信这对实际的分发部署有任何影响,因为.ipa肯定有与它捆绑的图标。我已将其直接加载到iTunes中以验证。

My application icon's work fine when displaying on iPad and iPhone, however after I build for archive, and create the archive, there is no icon shown. Any ideas? I've looked around at several forums and haven't found a resolution. I actually don't believe this has any effect on the actual distribution deployment, as the .ipa definitely has the icons bundled with it. I've loaded it directly into iTunes to verify that.

请参阅下面的屏幕截图,我已经定义了图标文件(CFBundleIconFile)和图标文件(CFBundleIconFiles) 。

See screenshots below, I already have "Icon File" (CFBundleIconFile) and "Icon Files" (CFBundleIconFiles) defined.

推荐答案

讨厌回答我自己的问题,尽管我脑子里的灯泡响了。在Xcode 4管理器存档中,应用程序被分组。如果您存档5个版本,则在左窗格中选择应用程序,而在右窗格中显示5个版本。这让我相信它实际上并不是用于在左窗格中显示分组应用程序的应用程序图标,而是实际的iTunesArtwork文件。所以我将它添加到了CFBundleIconFiles集合中,并且它有效!

Hate to answer my own question, though a light bulb just went off in my head. Within Xcode 4 organizer archives, applications are grouped. As in if you archive 5 versions, you select the application on the left pane, and than the 5 versions show on the right pane. This lead me to believe that it's not actually the application icons that are used to show the grouped application on the left pane, but the actual iTunesArtwork file. So I added it to the CFBundleIconFiles collection, and it worked!

这篇关于Xcode 4.1存档在组织者中构建不显示图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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