Phonegap - Missing App Store Icon 1024x1024px App Store Icon

痞子三分冷 提交于 2020-02-01 17:46:47

问题


This is for PhoneGap.

When submitting the .ipa with ApplicationLoader I'm getting this error:

WARNING ITMS-90704: "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 use Phonegap's online build tool at https://build.phonegap.com to generate the .ipa. So, I zip the phonegap project and then upload. The website will compile and create the .ipa. The ipa gets gerenated successfully and I can even install to a test device and it also gets to the TestFlight, but Apple does not allow me to submit to app store until this warning is resolved.

I looked at other solutions but those seem to be for Cordova specifically.

I tried thse suggestions from the following links but those didn't work.

Missing Marketing Icon - iOS Cordova

Cordova, Phonegap and ionic ( ios missing 1024x1024 icon )

I tried updating the config.xml by adding:

<icon src="res/icon/ios/icon-1024.png" width="1024" height="1024" />

I also added the following to config.xml:

<platfrom name="ios">
   <icon src="res/icon/ios/icon-1024.png" platform="ios" width="1024" height="1024" />
   ...
</platform>

I also added the following for the heck of it:

<engine name="ios" spec="^4.5.1" />

Nothing seems to work. Again, this is for PhoneGap. Thanks


回答1:


In your config.xml file, add the corresponding 1024x1024 icon in png format

<icon src="icon/ios/icon.png" width="1024" height="1024" />

and update to phonegap-cli 7.1.0 or later (add this element if you don't already specify the phonegap version)

<preference name="phonegap-version" value="cli-7.1.0" />

NOTE: make sure your png icon does not contain an alpha channel (no transparency allowed, else you'll get an ERROR ITMS-90717).




回答2:


For others that above solution not work.

  • What work for me is by uploading the 1024*1024 icon in iTunes Connect App Store Icon.
  • Then I resubmit my ipa build again.

iTunes Connect - App Store Icon Screenshot




回答3:


If you are using xcode to make IPA. Then open project/platforms/iOS/.../images.xcassets folder and put an app icon there named "icon-1024.png". It should be 1024*1024 px in size. Not need to be add in config.xml. Done.

Note- whether you are using xcode or not there should be images.xcassets folder. Just find it..




回答4:


You may need add assets.car file witch is required by ios 11 and you can create it with xcode or online tool http://www.applicationloader.net/appuploader/icontool.php



来源:https://stackoverflow.com/questions/48236079/phonegap-missing-app-store-icon-1024x1024px-app-store-icon

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