ionic3 - Invalid App Store Icon. The App Store Icon in the asset catalog in 'YourApp.app' can't be transparent nor contain an alpha channel

Yuyang He picture Yuyang He · Jan 26, 2018 · Viewed 17.7k times · Source

My ionic3 project build IOS successed, but when I upload it to itunes connect error showing

enter image description here

then I try follow this ANSWER, but showing this for me find: convert: No such file or directory

EDIT:

I installed imagemagick using npm install imagemagick not brew install imagemagick

then running find ./resources/ -name "*.png" -exec convert "{}" -alpha off "{}" \; showing find: convert: No such file or directory.

Answer

Yuyang He picture Yuyang He · Jan 29, 2018

Error solved!! Because of my ionic3 project contains icon alpha channel problem. And thanks to @Raptor.

  1. I tried to close icon alpha channel by photoshop.
  2. Delete ./resources/ios/icon all icons which in IOS folder.
  3. Run ionic cordova resources ios.
  4. Rebuild ios ionic cordova build ios --prod, error solved.

If still got error or any problem, just comment here and I will try to help you.

enter image description here