问题
I am trying to submit an app which is only for iPhone.
The error showed " iPhone/iPod Touch: Icon.png: icon dimensions (0 x 0) don't meet the size requirement. The icon file must be 57x57 pixels, in .png format.
May I know why this happens? I try to change the plist setting and i am sure my icon is at the right size. It shows perfectly on my iPhones.
I have searched for few post here but still cannot find the solution.
Could anyone knows the problem?
Thanks
回答1:
According to this solution https://devforums.apple.com/message/612098#612098 make this steps:
- Install ApplicationLoader_2.5.1.dmg (Just install it, you don't need to launch/use it)
- Quit & restart Xcode
- Clean Project
- Archive (again)
- Validate/Submit now works
This solution fixed my problems with submission.
回答2:
Tomasz's solution is fine, but there's a much simpler solution: select your Icon.png and Icon@2x.png, and in the right-hand side inspector, change File Type from "PNG" to "Icon".

After this change, you can Archive and submit your application as you normally would directly within XCode.
回答3:
You need to have (at minimum) a 57x57px icon and a 114x114px icon. Typically these will be called Icon.png and Icon@2x.png.
Then in your info.plist, there is an array called 'Icon files'. You need to add both image names to that array.
回答4:
Have to try to Clean & Rebuild ? in xCode, try to right click on the App Icon > choose "Delete", then re-pick the Icon.
Make sure it is PNG , non-interlaced.
来源:https://stackoverflow.com/questions/9174514/app-submission-failed-due-to-icon-dimensions-0-x-0