Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

ios

ionic3

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.

like image 420
Yuyang He Avatar asked Jan 26 '18 09:01

Yuyang He


3 Answers

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

like image 186
Yuyang He Avatar answered Nov 15 '22 18:11

Yuyang He


You need to do this on XCode on your Assets catalog. Like (from Apple) enter image description here

At the bottom of that screen you will see the required field:

enter image description here

It should be a 1024x1024 image

like image 23
distante Avatar answered Nov 15 '22 18:11

distante


The find command syntax is not correct, this way you get the message, this how you should use find command :

  find . -type f \( -iname \*.png \)  -exec convert "{}" -alpha off "{}" \;
like image 2
lotfi Raghib Avatar answered Nov 15 '22 18:11

lotfi Raghib