114x114 Application Loader Problem (+Fix)

Hello,

I ran into a problem when it came time to submit my new game, Dungeon Tap, to the App Store via the Application Loader.

I followed the examples that are included with the newest versions of Corona and placed a single, 114x114 Icon.png in the folder. Device builds (development) worked great, just as the samples do, but when I put it through the Application Loader, it gave me the following error:

iPhone/iPod Touch: Icon.png: icon dimensions (114 x 114) don’t meet the size requirements. The icon file must be 57x57 pixels, in .png format.

At that point, I decided to do what I did with all my other graphics, use an old-size 57x57 Icon.png and bundle ANOTHER icon with my image Suffix ("@2"). So I included the following files:

  • Icon.png (57x57)
  • Icon@2.png (114x114)

I made another development build to see if the icon showed up properly on my iTouch 4 and… it didn’t.

I did some research and found some advice to bundle a 57x57 Icon.png and then a second 114x114 with a suffix of “@2x”. Now, keep in mind, my imageSuffix defined in my build.settings is “@2” not “@2x”.

I tried it again, and it worked! This time, the icon showed up properly on my device, AND it was accepted through the application loader. And no, I didn’t have to change my image suffix, it’s still @2 for all my other images… it’s just the Icon.png that has to have the “@2x” specifically.

CONCLUSION

In order to distribute your app with a high-res icon (for iPhone 4 and iTouch 4), you MUST include a 57x57 Icon.png AND an Icon@2x.png REGARDLESS of what your image Suffix is. So for example, if your image suffix is “@2xyz” then you still have to name the high res icon “Icon@2x.png” or it won’t show up properly on the device.

@Ansca: It through me through sort of a hoop when the App Loader rejected my app because all of the samples only include a single 114x114 Icon.png (which works great for development device builds, but unfortunately won’t be accepted for distribution). Please update the documentation to include this information, and please include a 57x57 Icon.png as well as a 114x114 Icon@2x.png with all of the samples in future versions.

Hope that helps some people out! [import]uid: 7849 topic_id: 2140 reply_id: 302140[/import]

Thanks for letting us know and posting the solution. I filed this as a bug (#1230) for correcting the sample code and documentation.

-Tom [import]uid: 7559 topic_id: 2140 reply_id: 6573[/import]

Thanks so much for posting this! Saved the day! [import]uid: 8444 topic_id: 2140 reply_id: 15375[/import]

I’m having the same issues with the latest Corona build 2011.268.
I’ve included both a Icon.png (57x57) and Icon@2x.png (114x14) and am getting the following error when trying to upload with the Application Loader:

iPad: Icon.png: icon dimensions (57x57) don’t meet the size requirements. The icon file must be 72x72 pixels, in .png format

Any clues? [import]uid: 13077 topic_id: 2140 reply_id: 18673[/import]

Seems that the following build.settings do the trick.

settings =
{
iphone =
{
plist =
{
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png” ,
“Icon@2x.png” ,
“Icon-72.png”
},
},
}
} [import]uid: 13077 topic_id: 2140 reply_id: 18674[/import]

The Icon-72 is for the iPad.

Maybe now that there’s Universal Binaries, it is looking for those as well? Or maybe Corona servers are assuming it is supposed to be there?

Not sure. But maybe something along those lines. [import]uid: 8444 topic_id: 2140 reply_id: 18678[/import]

The validation tests come from Apple when you attempt to upload an app. (Apple keeps changing their rules too.)

You might take a look at this Apple page to understand Apple’s different requirements (as of when that document was written).
http://developer.apple.com/library/ios/#qa/qa2010/qa1686.html

As described earlier in this thread, changing the build.settings file is the way to write the correct Info.plist entries described in Apple’s documentation.

[import]uid: 7563 topic_id: 2140 reply_id: 18701[/import]

I am having this same problem. I have tried everything in this thread but still can’t make it work. I have a 57x57 Icon a 72x72 Icon-72 and a 114x114 Icon@2x files. This is what my build setting code looks like. I am getting the same error as above “iPad: Icon.png: icon dimensions (57x57) don’t meet the size requirements. The icon file must be 72x72 pixels, in .png format”.
settings =
{
orientation =
{
default = “landscape”,
supported =
{
“landscape”, “landscape”,
},
},
androidPermissions =
{
“android.permission.INTERNET”
},
{
iphone =
{
plist =
{
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png” ,
“Icon@2x.png”,
“Icon-72.png”
},
},
},
},
}

Thanks [import]uid: 31005 topic_id: 2140 reply_id: 32377[/import]