info.plist error

Hey guys, Im trying to create a build for my Corona game and I get this error after the build finishes;

 

“Info.plist: Unable to verify icon dimensions, no icon found.  You must define CFBundleIcons, CFBundleIconFiles, CFBundleIconFile, or provide a default Icon.png that is 57x57 (-19013)”

Ive searched this error online on forums and just don’t understand how its fixed… I understand its something to do with Icons and how its displayed in the info.plist file within the .app file.

Any ideas on what I have to do. The help is greatly appreciated.

I would start here:
 

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#custom-app-icons

Filename’s are case sensitive, so there is a difference between icon.png and Icon.png.  Reading that whole document on build.settings is probably a good idea, not just the icon part.

Thanks for that Rob Miracle, I’ll defiantly check that out. 

So is it a problem with whats inside my build.settings file?

And potentially what files are sitting in the folder with your main.lua.

I see. Well I think I see the problem after reading the doc you sent me. The error mentioned I needed do declare CFBundleIcons, CFBundleIconFiles, CFBundleIconFile. In my build.settings file, neither of them exist.  

Here is a typical build.settings file for iOS apps (I didn’t include any android bits to keep it simple for now)
 

settings = {          orientation = {         default = "landscapeRight",         supported = { "landscapeRight", "landscapeLeft", }     },          iphone = {         plist = {             UIStatusBarHidden = true,             UIPrerenderedIcon = true, -- set to false for "shine" overlay             UIApplicationExitsOnSuspend = false,             UIStatusBarHidden=true,             CFBundleIconFile = "Icon.png",             CFBundleIconFiles = {                 "Icon.png",                 "Icon@2x.png",                 "Icon-72.png",                 "Icon-72@2x.png",                 "Icon-50.png",                 "Icon-50@2x.png",                 "Icon-small.png",                 "Icon-small@2x.png"             },         }     }, }

That’s great, thanks for the example. I noticed a lot missing from my version which is why the error probably occurred. Thanks for the help Rob Miracle, greatly appreciated.

I would start here:
 

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#custom-app-icons

Filename’s are case sensitive, so there is a difference between icon.png and Icon.png.  Reading that whole document on build.settings is probably a good idea, not just the icon part.

Thanks for that Rob Miracle, I’ll defiantly check that out. 

So is it a problem with whats inside my build.settings file?

And potentially what files are sitting in the folder with your main.lua.

I see. Well I think I see the problem after reading the doc you sent me. The error mentioned I needed do declare CFBundleIcons, CFBundleIconFiles, CFBundleIconFile. In my build.settings file, neither of them exist.  

Here is a typical build.settings file for iOS apps (I didn’t include any android bits to keep it simple for now)
 

settings = {          orientation = {         default = "landscapeRight",         supported = { "landscapeRight", "landscapeLeft", }     },          iphone = {         plist = {             UIStatusBarHidden = true,             UIPrerenderedIcon = true, -- set to false for "shine" overlay             UIApplicationExitsOnSuspend = false,             UIStatusBarHidden=true,             CFBundleIconFile = "Icon.png",             CFBundleIconFiles = {                 "Icon.png",                 "Icon@2x.png",                 "Icon-72.png",                 "Icon-72@2x.png",                 "Icon-50.png",                 "Icon-50@2x.png",                 "Icon-small.png",                 "Icon-small@2x.png"             },         }     }, }

That’s great, thanks for the example. I noticed a lot missing from my version which is why the error probably occurred. Thanks for the help Rob Miracle, greatly appreciated.