Xcode 4.1 Archive Build in organizer doesn't s

2019-03-15 02:14发布

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.

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

enter image description here

enter image description here

enter image description here

3条回答
【Aperson】
2楼-- · 2019-03-15 02:29

I think it's because you don't have the 512x512 iTunesArtwork file.

enter image description here

查看更多
疯言疯语
3楼-- · 2019-03-15 02:31

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!

enter image description here

enter image description here

查看更多
We Are One
4楼-- · 2019-03-15 02:32

You have an empty entry for CFBundleIconFile. If you remove it completely it should work.

Icon handling in the Xcode Organizer has been a bit buggy in the past, so I wouldn't put too much stock in it. Just make sure the icons are displaying correctly on the actual platforms you intend to ship on.

查看更多
登录 后发表回答