hanism
hanism

Reputation: 863

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

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.

Upvotes: 72

Views: 13603

Answers (10)

Roman Bambura
Roman Bambura

Reputation: 177

Download new Application Loader and upload your app with it.

Upvotes: 6

mrd3650
mrd3650

Reputation: 1391

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

Upvotes: 0

Umair A.
Umair A.

Reputation: 6873

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!

Upvotes: 0

kumar123
kumar123

Reputation: 889

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.

Upvotes: 0

TheInterestedOne
TheInterestedOne

Reputation: 768

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

Upvotes: 1

MonsieurDart
MonsieurDart

Reputation: 6045

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.

Upvotes: 9

AndreasZ
AndreasZ

Reputation: 1170

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

Upvotes: 70

cyphers
cyphers

Reputation: 71

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

Upvotes: 3

mwidmann
mwidmann

Reputation: 479

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

Upvotes: 22

Aqueel
Aqueel

Reputation: 1246

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!

Upvotes: 1

Related Questions