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
Error solved!! Because of my ionic3 project contains icon alpha channel
problem. And thanks to @Raptor.
- I tried to close icon
alpha channel
by photoshop. - Delete
./resources/ios/icon
all icons which inIOS
folder. - Run
ionic cordova resources ios
. - 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.
You need to do this on XCode on your Assets catalog. Like (from Apple)
At the bottom of that screen you will see the required field:
It should be a 1024x1024 image
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 "{}" \;