72

I got this problem: "warning: iPad: Icon-72.png: icon dimensions (0 x 0) don't meet the size requirements. The icon file must be 72x72 pixels, in .png format (-19014)" when build for archive the iPad only app. Have checked, my icon is 72x72 pixels. Also checked on info.plist file, the key CFBundleIconFiles already there. Before this have no problem to submit the app. After rejected by app review I want to resubmit (no changes has been made on my Xcode project) but the error appear. Does it because of I've upgraded to Mac OSX Lion 10.7.3? (I just update to Mac OSX Lion 10.7.3 before resubmit the app).

Wonder why does the warning says "icon dimensions (0 x 0)".

Please help me. Thanks.

hanism
  • 763
  • 2
  • 6
  • 13
  • check the case of the name in plist it could be either icon-72 instead of Icon-72 – Inder Kumar Rathore Feb 02 '12 at 07:25
  • @InderKumarRathore checked, the case is same as the file name with capital letter I, Icon-72.png – hanism Feb 02 '12 at 07:34
  • 1
    I have the same problem. I tried verifying a new Build of our app, but it fails with _iPhone/iPod Touch: iPhoneAppIcon.png icon dimensions (0x0) don't meet the size requirements. The icon file must be 57x57 pixels, in .png format_. I updated to 10.7.3 as well this morning. To be sure I tried to verify an older version of the build which verified fine a couple of days ago and I get the same error. Must be an issue with 10.7.3 – mwidmann Feb 02 '12 at 08:41
  • 2
    I'm seeing this issue with 10.7.3, and I'm running the Xcode 4.2.1. Does anyone know if Xcode 4.3 Developer Preview 3 shows this issue? – Snips Feb 04 '12 at 11:40
  • Using 10.6.8 (Snow Leopard), same problem – JOM Feb 06 '12 at 09:13

10 Answers10

70

I installed Application Loader and the problem with Xcode got solved. Found the solution on Apple Developer forums here

AndreasZ
  • 1,060
  • 13
  • 16
  • 7
    here is the download link to the Application loader https://itunesconnect.apple.com/apploader/ApplicationLoader_2.5.1.dmg Just to be clear, I see many comments about switching compression to NO for PNG photo files in the project settings, this is not a good idea. Don't turn off compression for PNG files. – RocketMan Feb 07 '12 at 20:41
  • 3
    Also note: you do not need to actually use the Application Loader to upload your build. Simply installing it and then restarting XCode and rebuilding your app works. – dnstevenson Feb 07 '12 at 22:27
  • An install of Application Loader did the trick for me too! Thanks @AndreasZ! – Mick F Feb 13 '12 at 10:54
  • Handy blog post about it here too: http://blog.manbolo.com/2012/02/02/macosx-10.7.3-update-breaks-ios-app-validation ...but yes just installing 'Application Loader' fixes it. No need to use it, but probably best to quit xCode while you're installing. When you restart and rebuild, the warning's gone! – Harry Wood Feb 13 '12 at 11:33
22

I found a solution thanks to a forum post on the official developer forums.

  1. click on your project in the tree view
  2. choose the project
  3. go to Build Settings
  4. be sure to select All
  5. search for PNG and set the value to NO

enter image description here

Seems to be a bug in Lion 10.7.3

mwidmann
  • 479
  • 4
  • 10
9

Another solution, without installing Application Loader, is to set the File Type of all your icon files to "Icon" instead of PNG Image. This is done by selecting the Icon in Xcode and going to the File inspector panel.

Kendall Helmstetter Gelner
  • 74,769
  • 26
  • 128
  • 150
MonsieurDart
  • 6,005
  • 2
  • 43
  • 45
  • 2
    This worked for me and was simpler than downloading/installing Application Loader. You can easily find the icon files by typing "icon" in the bottom search filter of the project navigator. – Kendall Helmstetter Gelner Feb 15 '12 at 23:49
  • 1
    This worked for me, and seems much better than the current top solution. It does not require modifying the assets, losing the benefits of compression, or installing new software. – algal Feb 23 '12 at 11:11
  • It says now unable to verify icon dimensions now . . . – coolcool1994 Aug 14 '13 at 18:32
6

Download new Application Loader and upload your app with it.

gunr2171
  • 16,104
  • 25
  • 61
  • 88
Roman Bambura
  • 177
  • 1
  • 6
3

While the solution of turning off Compress PNG images does work, it is not a good solution as it then no longer compresses PNG images. While not the most useful feature ever, it is standard and does obfuscate your images in your ipa which is usually a good thing.

This issue started with 10.7.3, today. No real solution has yet been put forward (other than to build your submissions with 10.7.2 instead.)

cyphers
  • 71
  • 3
1

Check if your icon file is placed in the root project folder. The icon file should not be in any sub folder of your project folder. So if it is the case with you, just copy it to the root folder of your project and add to the project again.

Happy coding!

Aqueel
  • 1,246
  • 3
  • 23
  • 46
  • 1
    thanks for helping. actually i never put any icons, launch images in sub folder. i do try delete the app icon and add to the project again like you suggested (the icons is already placed in the root project folder). but still no luck.. – hanism Feb 02 '12 at 08:06
  • Have you dragged and dropped your icon files on App Icons section in your Summray tab in Target settings? – Aqueel Feb 02 '12 at 08:35
1

Download and Install the new application loader.

Quit Xcode. 
Restart Xcode.
Clean all Targets.

Try to submit!! :)

I've solved the issue! NOTE: You must have only a copy of the Application Loader on you Mac. In you install thisIf you have a copy in /Developer/Applications/Utilities, and another version in /Applications/Xcode.app/Contents/Applications, you may run into problems. Pay Attention!!

Soner Gönül
  • 97,193
  • 102
  • 206
  • 364
TheInterestedOne
  • 748
  • 3
  • 12
  • 33
0

I tried 2 answers here and none seemed to solve my problem. After digging into some more detail I figured, the issue is in AppName-Info.plist

Project > Supporting Files > AppName-Info.plist

If you see closely, you will find the icons list is something like...

enter image description here

What I changed it to solve this...

enter image description here

Cheers!

Umair A.
  • 6,690
  • 20
  • 83
  • 130
0

I had the same problem and so tried to upload it via Application Loader (version 2.4.1) which still gave me the error. So I tried downloading latest version but could not install since it required MacOS 10.7 minimum. So I used version 2.5.1 which has the bug fixed and runs with MacOS 10.6.8

Link to v2.5.1 ApplicationLoader_2.5.1.dmg

NANNAV
  • 4,875
  • 4
  • 32
  • 50
mrd3650
  • 1,371
  • 3
  • 16
  • 24
0

If you are using MAC OS version 10.7.3 and iTune version less than 10.6.Then while archiving you will face this issue.

So don't worry.Please update your iTune store to latest version(i.e 10.6).It will work perfectly fine.

kumar123
  • 791
  • 7
  • 21