Error: Failed to resize image: AppIcon20x20@3x.png. (Error: Input file contains unsupported image format)
See original GitHub issueEnvironment
Environment: OS: macOS 10.14.3 Node: 8.3.0 Yarn: 1.7.0 npm: 5.3.0 Watchman: 4.9.0 Xcode: Xcode 10.1 Build version 10B61 Android Studio: Not Found
Packages: (wanted => installed) expo: 31.0.6 => 31.0.6 react: 16.6.3 => 16.6.3 react-native: 0.57.8 => 0.57.8
Diagnostics report: https://exp-xde-diagnostics.s3.amazonaws.com/arikanmstf-1bdc4436-24ef-4641-b24b-cf28ea40c6f1.tar.gz
Steps to Reproduce
- Running expo build like this:
API_ENV=live expo build:ios
Expected Behavior
Should build successfully
Actual Behavior
As an application icon, I am using one withuot alpha or transparent channels. app.json is like this:
{
"expo": {
"icon": "./static/img/icon-no-alpha.png",
"sdkVersion": "31.0.0",
"privacy": "unlisted",
"platforms": ["ios"],
...
}
}
Build was working correct with transparent png file, However with transparent png file, Xcode’s Application Loader
fails with following error:
ERROR ITMS-90717: "Invalid App Store Icon. The App Store Icon in the asset catalog in 'ExpoKitApp.app' can't be transparent nor contain an alpha channel."
Reproducible Demo
Here can be found build with full log:
https://expo.io/builds/bf69c1c4-f2e2-486f-a984-4ff5d7d55d76
(Paste the link to an example project and exact instructions to reproduce the issue.)
Issue Analytics
- State:
- Created 5 years ago
- Comments:23 (6 by maintainers)
I’ve also tried it with 2.11.6, 2.11.7 and 2.13.0 with the same result. Saved from Preview with no Alpha, and even tried Photoshop 8-bit, no transparency. Same result every time. Really need to get this published - any other ideas?
Looking for a work around as well. Everything worked fine a couple months ago. Made a quick code change and ran build:ios and I’m getting the same complaint about the icon as everyone else. The bundle pattern breaks it in different ways or doesn’t do anything.