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" (C开发者_StackOverflow中文版FBundleIconFiles) 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.
精彩评论