My ionic3 project build IOS successed, but when I upload it to itunes connect error showing
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.
Error solved!! Because of my ionic3 project contains icon alpha channel problem. And thanks to @Raptor.
- I tried to close icon
alpha channelby photoshop. - Delete
./resources/ios/iconall icons which inIOSfolder. - 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.
If you don't have Photoshop, you can also try it in the free Paint.Net:
- Load the file and save it again but select 24 bits in the options.
- You will see in the preview that the image will be rendered against a white background.
Thanks Midora from https://forums.getpaint.net/topic/30381-removing-the-alpha-channel/
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 "{}" \;
来源:https://stackoverflow.com/questions/48459080/ionic3-invalid-app-store-icon-the-app-store-icon-in-the-asset-catalog-in-you



