Icon and launch image hell in Xcode

Monkey Targets Forums/iOS/Icon and launch image hell in Xcode

Snader(Posted 2014) [#1]
Somehow, whatever tutorial, forum or idiots guide I try, my apps almost never validate the first time because of Icons or Launch Images being 'wrong'.

Anyone got a decent tip that actually is failsafe?


rIKmAN(Posted 2014) [#2]
What is the issue exactly?

Just make up the required images, and add them in xCode.


Snader(Posted 2014) [#3]
Well, that's exactly what I do everytime. Somehow it seems that some images needs to have correct names like Icon.png, but others don't. It feels a bit random to me.

I followed a video tutorial where a guy just drags self named images from his Finder to the Asset catalogs. It works for him and Xcode isn't giving any errors on my system. But when validating before distributing, it warns me about some icons being the wrong size. I double checked this, and they are the correct size for sure. So I renamed the icons (didn't remake them), added them again... same problem.
Then I ditched the Asset catalog and added the renamed icons to the resources. I added one icon at a time by clicking the folder in the right column on each row under the App Icons section.

Then, suddenly it worked. So I got it working.. yeah! But, with the exact same icons.

Why didn't it work the first time.. So, after looking it up in Google, I found a lot of people having the same problems and there are several solutions to add icons. Editing plist (this is how I got it working last time, after trying for 3 times), not editing plist by hand. It just seems all too complicated or too many ways to do it.


Axeman(Posted 2014) [#4]
I have to say I do have similar problems when building icons etc. And I'm never sure which icons are required etc. I have started to write a bit of vb code to help with the resizing of icons because it takes so long to resize graphics and rename them and import them etc etc.
I wrote this purely for personal use and its a bit naff but if you find it useful, then good. You still have to drag the files into Xcode but maybe it will ease the pain of creating the icons etc.

http://1drv.ms/1jmwKLq


Snader(Posted 2014) [#5]
Thanks Axeman. I sometimes use this one: http://makeappicon.com/


rIKmAN(Posted 2014) [#6]
Ahh, thats why I never saw the problem - I added them all manually and xCode did the renaming for me.


EdzUp(Posted 2014) [#7]
Icon.png for the icon and Default.png for the splash screen.


GfK(Posted 2014) [#8]
It is a royal ballache, made worse by the fact that every new version of XCode requires yet more icons in more stupid sizes. Last time I used XCode, I counted 17 different icon sizes that were required.

I cannot fathom why there isn't an option to have one large icon, and XCode derive the rest from that by itself.


Alex(Posted 2014) [#9]
A great list on a Snader's link! Thanks, very helpful!
http://makeappicon.com/ios7icon