Icon error when building iphone / ipad (universal)

hello all..

I think i am missing something. My icon 72x72 is named Icon-72.png. But when i want to compile it for iphone and ipad, i get an error saying that i don't have ipad 72x72 icon. Is there a way to fix this?

Thanks in advance

try giving the following in build.settings file.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
settings =
{        
        iphone =
        {
                plist =
                {
                        CFBundleIconFile = "Icon.png",
                        CFBundleIconFiles = 
                        {
                                "Icon.png" ,
                                "Icon@2x.png" ,
                                "Icon-72.png" 
                        },
                        
                },
        },
 
}               

Works perfectly, Thanks!

If i want to add more icons like Icon-Small.png i just add it into CFBundleIconFIles? Is there any format i need to put it? Eg: Icon-72.png must be after Icon@2x.png etc..

I think order doesn't matter.
u may try this

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
settings =
{
        iphone =
        {
                plist =
                {
                        CFBundleIconFile = "Icon.png",
                        CFBundleIconFiles = {
                                "Icon.png" , 
                                "Icon@2x.png" , 
                                "Icon-72.png" , 
                                "Icon-Small-50.png" , 
                                "Icon-Small.png" , 
                                "Icon-Small@2x.png"
                        },
                },
        }
}

Thank you.

views:1478 update:2011/9/27 18:14:54
corona forums © 2003-2011