Missing App Store icon codename one build

自作多情 提交于 2019-12-23 02:48:20

问题


I have created an app using codename one. It uploads to the google store for testing fine but when I try to upload it for TestFlight using the App Loader I get an error:

"Missing App Store Icon. iOS Apps must include a 1024x1024px App Store Icon in PNG format. Without providing the icon in the Asset Catalog or via iTunes Connect, apps cannot be submitted for App Review or Beta App Review. Refer to https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/ for more information."

I have already uploaded a couple of versions for testing and they have uploaded fine.

I tried changing the icon to a 1024x1024 icon but it just defaulted back to 512x512.

How can I make sure this required icon is included with the build?

Thanks.


回答1:


I found the solution thanks to James H in a comment below.

This issue is due to Apple changing the required Xcode version to version 9. Codename one made a change to build apps using that version of Xcode.

You can set the build hint ios.xcode_version=7.3 to fix this.

There is a blog on codename one here that explains this issue more.




回答2:


In your AppIcon you'll see a template for "App Store" icon of 1024x1024.

Drag your appropriately sized icon here.

EDIT:

If you do not see this template in the AppIcon, navigate to the AppIcon.appiconset directory in your project. (By right clicking on the AppIcon and selecting "Show in Finder")

Then edit the Contents.json file and add this item somewhere in there.

{
  "size" : "1024x1024",
  "idiom" : "ios-marketing",
  "scale" : "1x"
}

Now, the "App Store" template will appear in your AppIcon.



来源:https://stackoverflow.com/questions/48963518/missing-app-store-icon-codename-one-build

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