build.settings question (related to plist)

I tried to submit my app with different sized icons in my build.settings file as such:

[lua] iphone =
{
plist =
{
UIPrerenderedIcon = true,
UIStatusBarHidden = true,
CFBundleIconFiles = {“Icon-57x57.png”, “Icon-72x72.png”, “Icon-114x114.png” …}
},
},[/lua]

But the application loader flagged it saying it could not determine icon sizes. So I went back to my old way of declaring this…

[lua][lua] iphone =
{
plist =
{
UIPrerenderedIcon = true,
UIStatusBarHidden = true,
CFBundleIconFile = “Icon-57x57.png”
},
},[/lua]

Which worked fine although now I’m worried that on the iPhone 4 the icon will look crunchy and not as crisp. Any suggestions on using CFBundleIconFiles instead of simply CFBundleIconFile?

Thank you! [import]uid: 11554 topic_id: 4511 reply_id: 304511[/import]

I skipped CFBundleIconFile altogether. I just included the icon files in different sizes with the corresponding names.

They worked fine, on iphone 4 and ipad. I believe what I did is the “old” way of doing it.

Edit: When I say the worked fine I mean the 114x114 icon loaded for iphone4 and the 72x72 loaded for iPAd (I put some text on the icon to be able to tell as a test).

Edit2: The correct names for this approach are:
Icon.png
Icon@2x.png
Icon-72.png

(I think, going from memory here). I also included all the other icons (like 29x29 and the like) [import]uid: 10835 topic_id: 4511 reply_id: 14273[/import]

This seems to have worked for me and it passed Application Loader validation

settings = { iphone = { plist = { UIPrerenderedIcon="YES", UIStatusBarHidden=true, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png" , "Icon@2x.png" , "Icon-72.png" , "Icon-Small-50.png" , "Icon-Small.png" , "Icon-Small@2x.png" }, }, } } [import]uid: 5354 topic_id: 4511 reply_id: 15243[/import]

Here’s a handy chart:

[lua]–[[

iPhone

file name pixel dimensions Used for

Icon.png 57 x 57 Application icon (required).
Icon@2.png 114 x 114 Application icon for retina displays (e.g. iPhone 4.
Icon-Small.png 29 x 29 Settings/Search results icon.
Icon-Small@2.png 58 x 58 Settings/Search results icon for retina displays (e.g. iPhone 4).
iTunesArtwork 512 x 512 Display in iTunes store.


iPad

file name pixel dimensions Used for

Icon-72.png 72 x 72 Application icon (required).
Icon-Small.png 29 x 29 Settings icon.
Icon-Small-50.png 50 x 50 Search results icon.
iTunesArtwork 512 x 512 Display in iTunes store.

Corona “build.settings” file

–]][/lua] [import]uid: 616 topic_id: 4511 reply_id: 28469[/import]

I found that when building for iphone only, if you include the “@2x” files within CFBundleIconFiles, then the icon doesn’t show up in iTunes (during testing).

I think the @2x files get picked up automatically, so including them in the list may be redundant. Perhaps even breaking things because, if you think about it, if you list Icon@2x.png, won’t the system then attempt to load Icon@2x@2x.png ? And since @2x@2x doesn’t exist, the system determines that the listed file is incorrect?

At any rate, I had to remove the references to all the @2x files in order for the icon to render properly in itunes during local testing.

Example:

[lua]CFBundleIconFiles = {
“iTunesArtwork”,
“Icon.png”,
– REMOVE: “Icon@2x.png”,
“Icon-72.png”,
“Icon-Small.png”,
“Icon-Small-50.png”,
– REMOVE: “Icon-Small@2x.png”
},[/lua]

Also, this document talks about ensuring the icons are listed in a particular order. But this may just be a voodoo thing. [import]uid: 616 topic_id: 4511 reply_id: 30254[/import]

Hi,
I try to have my icon appearing in iTunes ( it works on the IPod and IPad ) but it won’t work. I have the icons and the following setting. Is someone spotting something ?

-- build.settings for project: Memory  
-- Managed with http://CoronaProjectManager.com  
-- Copyright 2010 Bruno Gallien. All Rights Reserved.  
-- cpmgen build.settings  
settings =  
{  
 orientation =  
 {  
 default ="portrait",  
 content = "portrait",  
 supported =  
 {  
 "portrait"  
 },  
 },  
 androidPermissions =  
 {  
 "android.permission.INTERNET",  
 "android.permission.ACCESS\_NETWORK\_STATE"  
 },  
 iphone =  
 {  
 plist =  
 {  
 UIPrerenderedIcon="YES",  
 UIStatusBarHidden=true,  
 CFBundleIconFile = "Icon.png",  
 CFBundleIconFiles = {  
 "iTunesArtwork",  
 "Icon.png" ,   
 "Icon@2x.png" ,   
 "Icon-72.png" ,   
 "Icon-Small.png" ,   
 "Icon-Small-50.png" ,   
 "Icon-Small@2x.png" ,   
 },  
 },  
 },  
}  

BR
Bruno [import]uid: 9097 topic_id: 4511 reply_id: 37287[/import]

i copy the ItunesArtwork file and add a .png to it, seems to work fine. A corona error maybye? [import]uid: 44010 topic_id: 4511 reply_id: 60683[/import]