简体   繁体   中英

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

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

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.

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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM