Icon file names for universal iOS builds?

From the docs:

“The application icon for iPhone should be a 57 x 57 PNG image file (or 72 x 72 for iPad). It should have the name Icon.png and be located in the assets project folder. For iPhone / iPod touch apps, an additional high-resolution 114 x 114 icon named Icon@2x.png is now also required to support Retina displays.”

Ok, but what if you’re doing a Universal build? How should the iPad icon be named? Currently I have this:
icon.png (57x57)
icon@2x.png (114x114)

I get this error when I build (universal):
warning: iPad: Icon.png: icon dimensions (57 x 57) don’t meet the size requirements. The icon file must be 72x72 pixels, in .png format (-19014) [import]uid: 52127 topic_id: 9808 reply_id: 309808[/import]

just like this : Icon-72.png
And keep the others icon files. [import]uid: 25327 topic_id: 9808 reply_id: 35773[/import]

yeah, that’s what I would guess too. But I still get this:

“warning: iPad: Icon.png: icon dimensions (57 x 57) don’t meet the size requirements. The icon file must be 72x72 pixels, in .png format (-19014)”

I have 3 icon files - Icon.png, Icon-72.png, and Icon@2x.png
Do I have to set up the build.settings file in a certain way for a universal build? [import]uid: 52127 topic_id: 9808 reply_id: 35777[/import]

This is my plist :
[lua]CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png” ,
“Icon@2x.png” ,
“Icon-72.png” ,
“Icon-Small-50.png” ,
“Icon-Small.png” ,
“Icon-Small@2x.png”,
“iTunesArtwork”
},[/lua]

But I have an error for the “iTunesArtwork” file. Wich is weird because I can see the icon in iTunes…
Maybe I should add .png even if I read mutliple times that it shouldn’t have the extension name…
Go figure!

If you want, i can send you a photoshop script to generate all the icon sizes from your 512x512 icon photoshop file. [import]uid: 25327 topic_id: 9808 reply_id: 35779[/import]

Got it to work after updating the plist. Sure wish they had this documented better.
I already have a PS script to do that - thanks for the offer though. [import]uid: 52127 topic_id: 9808 reply_id: 35786[/import]

@michael

Would you mind sharing your PS script with me? I would greatly appreciate it.

Thanks
Rob

[import]uid: 16527 topic_id: 9808 reply_id: 35846[/import]

See this post : https://developer.anscamobile.com/forum/2011/05/09/simple-photoshop-script-create-all-icon-sizes-automagically [import]uid: 25327 topic_id: 9808 reply_id: 35848[/import]

Thanks Michael! [import]uid: 16527 topic_id: 9808 reply_id: 35852[/import]

Hello,

I also found this link with dimensions. It helped me to finnish the process.
http://developer.apple.com/library/ios/#qa/qa1686/_index.html

Best regards,
Miha [import]uid: 14429 topic_id: 9808 reply_id: 44319[/import]