New app icons for iOS7

We are just trying to provide a cookie-cutter method to success that minimizes work and trauma for as many people who need it.  For those who want to learn how Icons work from the vendor and play within their rules, more power to you.

@Rob

One thing I’ve thought about before, and that has re-surfaced with this topic is this:

It would simplify things a lot for developers to just specify one icon image (like a 512x512 icon) and have Corona create the necessary icon files and plist entries in the bundle behind the scenes…

+1

That will be simply fantastic if at all possible!

Mo

@everyone

If you’d like to see Corona SDK auto-generate all app icon sizes and (for iOS) create all plist entries for you, then head on over to: http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/4434185-auto-generate-app-icons-for-android-ios check out the description, and give it a vote.

Voted for a a great idea. Thanks.

Gave my votes, too.

Thank you, Ingemar.  Very helpful.

Naomi

Ingemar, it looks like Corona SDK throws out error if we don’t include Icon.png.

Naomi

@naomi
Ooops. That’s what I I get for not testing with Corona before posting.
I’m currently working on a few Xcode projects, and it works there without it.

I’m away from my computer right now, but I’ll test once I get back. 

I’m at my computer again, and I’ve tested the above without getting an error in Corona (build 2013.1202).

I was able to successfully run an iOS app in the Corona Simulator, and build for device without problems.

(I did see in the build log that there is one place in the Corona build script where it tries to rename icon.png->Icon.png which obviously fails, but it doesn’t affect the resulting build. I checked the Info.plist in the app bundle and it’s 100% OK.)

I would still include Icon.png at 57x57 as a safety measure.  In fact to keep from having a full renaming attack, here is the scheme I would use:

Icon-Small.png    29x29

Icon-Small@2x.png  58x58

Icon-Small-50.png  50x50

Icon-Small-50@2x.png 100x100

Icon.png   57x57

Icon@2x.png 114x114

Icon-72.png   72x72

Icon-144.png  144x144

No differences there, just add:

Icon-60.png   60x60

Icon-60@2x.png  120x120

Icon-76.png   76x76

Icon-76@2x.png  152x152

And it should take care of you.

For what it’s worth, as Ingemar said, Apple doesn’t look at the file name, it looks for an Icon of the right size.  It basically loops through that array and says “Is this my 76x76 icon?” until it finds it or it throws an error.

Thanks, guys.  I was using daily build 1202 with release distribution certificate when the Corona spat out the error at the end of the build process.  So, immediately after, I duplicated some of the icon files to include standard naming, and it built without the error.

I like the naming convention that indicates the size of the icon, so below is what I ended up doing.

What I did was rather cumbersome, but at least I know what size is for what, plus the duplicate safety icons to ensure Corona will build the release app for me.  Maybe all I needed was Icon.png for safety measure, but I decided to keep them all.

Naomi

“Icon-512.png”,        – 512x512

“Icon-57.png”,         – App Icon iPhone Non-Retina (iOS 6.1 and prior)

“Icon-114.png”,       – App Icon iPhone Retina (iOS 6.1 and prior)

“Icon-72.png”,        – App Icon iPad Non-Retina (iOS 6.1 and prior)

“Icon-144.png”,      – App Icon iPad Retina (iOS 6.1 and prior)

“Icon-40.png”,        – Spotlight iPad Retina (iOS 6.1 and prior)

“Icon-50.png”,        – Spotlight iPad Non-Retina (iOS 6.1 and prior)

“Icon-100.png”,      – Spotlight iPad Retina (iOS 6.1 and prior)

“Icon-60.png”,       – App Icon iPhone Non-Retina [edited]

“Icon-76.png”,       – App Icon iPad Non-Retina

“Icon-120.png”,      – App Icon iPhone Retina

“Icon-152.png”,      – App Icon iPad Retina

“Icon-80.png”,        – Spotlight iPhone & iPad Retina

“Icon-29.png”,       – Settings iPhone & iPad Non-Retina

“Icon-58.png”,       – Settings iPhone Retina & iPad Retina (iOS 6.1 and prior)

                

“Icon.png”,                    – 57x57

“Icon@2x.png”,             – 114x114

“Icon-iPad.png”,            – 72x72

“Icon-iPad@2x.png”,      – 144x144

“Icon-Small-50.png”,      – 50x50

“Icon-Small-50@2x.png”,  – 100x100

“Icon-Small.png”,              – 29x29

“Icon-Small@2x.png”        – 58x58

Weird.

I have no problem at all with a release build and the build.settings file as in my first post.

OK, now I was able to get the error as well.

I have been working with Xcode 5 recently and the Xcode path had been set to point to the Xcode 5 binaries. After setting it back to Xcode 4.6 I got an error during validation, which is understandable since Xcode 4.6 doesn’t know anything about the iOS7 guidelines.

This means that the build.settings file I posted at the top will only work properly with Xcode 5.

Ah, great to know.  Thank you so much for tracking this down, Ingemar.  It sounds like I can remove these additional files as soon as I update mine to Xcode 5.

Thanks again!

Naomi

Got pretty sick of making icons too. Hopefully this will help:

http://developer.coronalabs.com/code/icon-generation

Appearently a 60x60 icon is also required by Apple.

See screenshot (https://developer.apple.com/library/prerelease/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html)

Ah, you’re right, Ingemar.  Dunno why I missed that.  Ugh.

Naomi

Hi guys, Pardon the stupid question but can I assume the new icons will be required only if Apple release ios7 to the masses? Or more simply, can I just send an app update with the old icons size? Thanks! Mo Ps: thank you guys for all these great info. It is hard to keep track of all that stuff. Why Apple did not just ask for one graphic 256x256 and then deal with all these icons sizes behind the scene is behond me! I am sure a A4 processor can deal with resizing icons :slight_smile:

Considering that the official release is on the 18th, I think that all apps that are released from now on will require the new icons. App approval takes about a week which would put a review on the other side of the 18th…