简体   繁体   中英

Xcode 4.1 Archive Build in organizer doesn't show icon

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.

在此输入图像描述

在此输入图像描述

在此输入图像描述

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!

在此输入图像描述

在此输入图像描述

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

在此输入图像描述

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM