Xcode 4.1 Archive Build in Organizer 不显示图标

编程入门 行业动态 更新时间:2024-10-28 18:27:14
本文介绍了Xcode 4.1 Archive Build in Organizer 不显示图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送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:关键词]

本文发布于:2023-04-17 06:49:18,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/908777.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:图标   Xcode   Archive   Organizer   Build

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!