Phonegap - Missing App Store Icon 1024x1024px App Store Icon

Kamy D picture Kamy D · Jan 13, 2018 · Viewed 10.7k times · Source

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

Answer

catu picture catu · Jan 16, 2018

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).