App submission failed due to icon dimensions (0 x 0)

不想你离开。 提交于 2019-11-26 17:37:47

问题


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:

  1. Install ApplicationLoader_2.5.1.dmg (Just install it, you don't need to launch/use it)
  2. Quit & restart Xcode
  3. Clean Project
  4. Archive (again)
  5. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!