简体   繁体   中英

Missing App Store icon codename one build

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.

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.

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 .

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