Universal App iOS Icon Issue

With an app that I am creating, I am hoping to release it as a Universal build. When I build the app as a universal app I get an error that my icon is the wrong size. If I have my “Icon.png” as a 57x57 it says my iPad version needs my “Icon.png” to be as a 72x72.

I am confused on how to have each device build with it’s own icon because all it asks for is my “Icon.png”. Is there a special way to name my icons?

Thanks in advance!
[import]uid: 30130 topic_id: 11919 reply_id: 311919[/import]

use icon robot. each device needs it’s own icon size:
http://blog.robot99.com/2011/02/icon-robot-get-icons-for-app-in-second.html [import]uid: 70635 topic_id: 11919 reply_id: 43462[/import]

Yea, I have the multiple sizes for the icons, but would do I name them in a Universal build? [import]uid: 30130 topic_id: 11919 reply_id: 43466[/import]

Icon Robot generates 3 versions/sizes.
Just drop them all into your project folder.

Quote:

for iPad, it is 72x72 px (icon-72.png) for iPhone 3G/3GS, it is 57x57 px (icon.png) for iPhone 4/Retina screen, it is 114x114px (icon@2x.png) for iTunes connect, it is 512x512 px [import]uid: 70635 topic_id: 11919 reply_id: 43479[/import]

Im having the SAME problem. All icons are there:

for iPad, it is 72x72 px (icon-72.png)
for iPhone 3G/3GS, it is 57x57 px (icon.png)
for iPhone 4/Retina screen, it is 114x114px (icon@2x.png)
for iTunes connect, it is 512x512 px

But the error still goes on. If I change the resoltion, the error is in Icon.png, but for iphone (57x57)

Do I miss something ? [import]uid: 9133 topic_id: 11919 reply_id: 51883[/import]

Try this in your build.settings :

settings =  
{  
 orientation =  
 {  
 default ="landscapeRight",  
 supported =  
 {  
 "landscapeRight", "landscapeLeft"  
 },  
 },  
  
 iphone =  
 {  
 plist =  
 {  
 CFBundleIconFile = "Icon.png",  
 CFBundleIconFiles = {  
 "Icon.png",  
 "Icon@2x.png",   
 "Icon-72.png"   
 },  
 },  
 },  
  
}  

And of course match your icon file names to those in build.settings ie (Icon.png not icon.png) [import]uid: 84637 topic_id: 11919 reply_id: 51923[/import]

I will appreciate it if someone could help with this:
Despite the fact that I have Icon.png, Icon@2x.png and Icon-72.png with a build.settings that has:
iphone =
{
plist =
{
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png”,
“Icon@2x.png”,
“Icon-72.png”
},
},
},
I am still getting the following errors when I build for iOS device:

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@2x.png (-19007)
warning: Icon specified in the Info.plist not found under the top level app wrapper: Icon-72.png (-19007)
warning: iPhone/iPod Touch: Info.plist: Unable to verify icon dimensions, no icon found. Your MinimumOSVersion is below 3.2, so you must define CFBundleIconFile or provide a default Icon.png that is 57x57. (-19013)
warning: iPad: Info.plist: Unable to verify icon dimensions, no icon found. You must define CFBundleIcons, CFBundleIconFiles, CFBundleIconFile, or provide a default Icon-72.png that is 72x72 (-19013)

Thanks,
Ziad [import]uid: 22300 topic_id: 11919 reply_id: 62832[/import]

Hey Ziad, do you have Icon.png, Icon@2x.png and Icon-72.png made and placed in your project folder? If you don’t have them in your folder, that’s probably the reason why you are getting the error. (These png files don’t magically get created and appear from out of blue.)

But if you already have them in your project folder, I have no clue why it’s spitting out the error.

Naomi [import]uid: 67217 topic_id: 11919 reply_id: 62857[/import]

They have to be in the same folder as your main.lua file [import]uid: 19626 topic_id: 11919 reply_id: 62880[/import]

Thanks for the response, Naomi and Rob. All three icon files are in the same folder as main.lua. Maybe I’ll regenerate them, this time using the Icon Robot mentioned above. [import]uid: 22300 topic_id: 11919 reply_id: 62892[/import]

They are case sensitive too.
[import]uid: 19626 topic_id: 11919 reply_id: 62897[/import]

Thank you every one. I have resolved the problem. It was due to the fact that the icon files were called the right things but were not PNGs! If you teach HS students and they’re generating icons, make sure you tell them to submit a .png to the icon generator :slight_smile: [import]uid: 22300 topic_id: 11919 reply_id: 62928[/import]