Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Icon dimensions don't meet size requirements no matter what

I am trying to put my app on the market and am granted with this error everytime I try:

Ipad: icon.png: dimensions (57 x 57) don't meet the size requirements.   The icon file must be 72x72 pixels in .png format.

I have seen the endless posts about about modifying the .plist and also Edit Project Settings -> Build -> uncheck Compress PNG Files( Icon.png file error in universal app ). I have done both of this. I have also went through apples guide for universal app Icons and followed that as well. However I noticed a difference in the .plist file I have and they have (http://developer.apple.com/library/ios/#qa/qa1686/_index.html). (Mine has a Primary Icon attribute ) Is there something I am missing or is the apple documentation our of date? enter image description here

When I change the icon to 72x72 I then get the same error except it says the icon file must be 57x57. It seems like it's trying to use icon.png for both the iphone and ipad icon when It should be using icon-72.png for ipad and icon.png for iphone. Is this defined somewhere else?

enter image description hereenter image description here

like image 442
ninjasense Avatar asked Aug 28 '12 20:08

ninjasense


2 Answers

First of all I'm not sure if this is a rule or if it's just common practice, but your icons should start with a capital "I". Second, your iPad icon should be 72x72 not 57x57 like the iPhone icon. And finally, you're missing your iPad retina icon "[email protected]" 144x144px.

Full break down of icons.

  1. Icon.png = 57x57 iPhone non retina
  2. [email protected] = 114x114 iPhone retina
  3. Icon-72.png = 72x72 iPad non retina
  4. [email protected] = 144x144 iPad retina

If you make sure your icons are exactly as I've listed then you won't have any problems.

If you are still experiencing problems after making these changes then try deleting all icon images from the project, and deleting the icon keys from your .plist file. Then re-add the images to the project by dragging them directly to their corresponding placeholder in the summary tab of Xcode's navigator.

enter image description here

like image 194
Mick MacCallum Avatar answered Sep 30 '22 18:09

Mick MacCallum


Well, I agree with @NSPostWhenIdle, But as far as the Naming conventions he is right, if you are adding directly to the plist,

But when it is concerned with Xcode , from Xcode 4.2, when you open the target settings -> Summary

I hope that you are using Xcode later than 4.2

And when you mouse over the App Icons section, it will show the size of icons and right click there and add icons. Xcode itself fix the names for your icons according to the size of the icons which you are selecting like this

For Normal Image

For Retina Image

So, No matter of fighting with the naming conventions of iCons, and if you add like this, these icon names are fixed my Xcode itself and these icons are automatically added to the plist File as well.

like image 34
Charan Avatar answered Sep 30 '22 20:09

Charan