[SOLVED] Failed validation test with icon size

Hi,

I try to create an universal build for iPad/iPhone, and have 3 different icons created in the main directory:

icon.png (57x57 px)
icon@2x.png (114 x 114 px)
icon-72.png (72 x 72 px)

This is my build.settings:

settings = {  
 orientation =  
 {  
 default = "landscapeRight",  
 supported = { "landscapeLeft", "landscapeRight"}  
 },  
 iphone =  
 {  
 plist=  
 {  
 UIPrerenderedIcon = true,  
 UIStatusBarHidden = true,  
 MinimumOSVersion="3.2.0",   
 UIApplicationExitsOnSuspend = false,  
 CFBundleIconFile = "icon.png",  
 CFBundleIconFiles = {  
 "icon.png" ,  
 "icon@2x.png" ,  
 "icon-72.png"   
 },  
 },  
 },  
}  
  

All 3 icons are in the main directory.

When compiling, i get an validation error:

warning: Icon specified in the Info.plist not found under the top level app wrapper: icon.png (-19007)
warning: Icon specified in the Info.plist not found under the top level app wrapper: icon.png (-19007)
warning: Icon specified in the Info.plist not found under the top level app wrapper: icon.png (-19007)
warning: Icon specified in the Info.plist not found under the top level app wrapper: icon.png (-19007)
warning: iPhone/iPod Touch: icon-72.png: icon dimensions (72 x 72) don’t meet the size requirements. The icon file must be 57x57 pixels, in .png format (-19014)
What am i doing wrong here?
[import]uid: 50459 topic_id: 13257 reply_id: 313257[/import]

[banging head on keyboard]

Didn’t realize that name should be with CAPITAL I

so Icon.png instead of icon.png

[import]uid: 50459 topic_id: 13257 reply_id: 48635[/import]

Hello rmbsoft,

The file systems on iOS and Android are case sensitive. That is why it failed to find these icon files. If you look at the sample apps in the Corona SDK, you’ll see that they all come with 5 icon image files. You will want to duplicate these file names and sizes for your app if you want to support all iOS and Android platforms/resolutions.

I hope this helps! [import]uid: 32256 topic_id: 13257 reply_id: 48645[/import]