warning: iPad: Icon-72.png: icon dimensions (0 x 0)

Objective CIosXcodeIpad

Objective C Problem Overview


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.

Objective C Solutions


Solution 1 - Objective C

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

Solution 2 - Objective C

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

Solution 3 - Objective C

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.

Solution 4 - Objective C

Download new Application Loader and upload your app with it.

Solution 5 - Objective C

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.)

Solution 6 - Objective C

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!

Solution 7 - Objective C

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!!

Solution 8 - Objective C

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.

Solution 9 - Objective C

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!

Solution 10 - Objective C

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionhanismView Question on Stackoverflow
Solution 1 - Objective CAndreasZView Answer on Stackoverflow
Solution 2 - Objective CmwidmannView Answer on Stackoverflow
Solution 3 - Objective CMonsieurDartView Answer on Stackoverflow
Solution 4 - Objective CRoman BamburaView Answer on Stackoverflow
Solution 5 - Objective CcyphersView Answer on Stackoverflow
Solution 6 - Objective CAqueelView Answer on Stackoverflow
Solution 7 - Objective CTheInterestedOneView Answer on Stackoverflow
Solution 8 - Objective Ckumar123View Answer on Stackoverflow
Solution 9 - Objective CUmair A.View Answer on Stackoverflow
Solution 10 - Objective Cmrd3650View Answer on Stackoverflow