问题描述
限时送ChatGPT账号..我的应用程序图标在 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 Archive Build in Organizer 不显示图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论