Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR ITMS-90022: "Missing required icon file." #539

Closed
enstulen opened this Issue Aug 23, 2017 · 21 comments

Comments

Projects
None yet
10 participants
@enstulen
Copy link

enstulen commented Aug 23, 2017

I get this error when trying to upload the app with the Application Loader built with expo:

ERROR ITMS-90022: "Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0."

skjermbilde 2017-08-23 kl 20 00 06

How can I add these icons? I can't seem to find it in the documentation.
This is my app.json:

{
  "expo": {
   "name": "APK - Alkohol Per Krone",
   "icon": "./src/assets/logo/APK_512.png",
   "version": "1.0.0",
   "slug": "alkohol-per-krone",
   "sdkVersion": "20.0.0",
   "orientation": "portrait",
   "ios": {
     "bundleIdentifier": "com.apk.alkoholperkrone"
   },
   "android": {
     "package": "com.apk.alkoholperkrone"
   }
  }
}

@enstulen enstulen changed the title ERROR ITMS-90022: "Missing required icon file. ERROR ITMS-90022: "Missing required icon file." Aug 23, 2017

@jimmylee

This comment has been minimized.

Copy link
Member

jimmylee commented Aug 23, 2017

Hey @enstulen this must be frustrating, sorry you're having difficult with this.

A member of our community linked us this checklist, it has an extensive icon section - maybe you could have a look at it and let us know if you're still having trouble? https://github.com/acomito/expo-to-appstore-checklist

@enstulen

This comment has been minimized.

Copy link
Author

enstulen commented Aug 23, 2017

Thanks a lot for the checklist!

It doesn't say, however, where the icons should be stored. The link to Stack Overflow only includes solutions within an XCode project (https://stackoverflow.com/questions/34329715/how-to-add-icons-to-react-native-app)
I have added the icons loading, the 512x512 app icon and notification icon, but I still get the error.
I tried adding CFBundleIconFiles to info.plist with this in app.json:

    "ios": {
      "infoPlist": {
        "CFBundleIconFiles": ["Icon-40.png","Icon-40@2x.png", "Icon-40@3x.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-83.5@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-small@2x.png", "Icon-Small@3x.png", "Icon.png", "Icon@2x.png", "NotifcationIcon@2x.png", "NotifcationIcon@3x.png"]
      },
      "bundleIdentifier": "com.apk.alkoholperkrone"
    },

However, I got ERROR ITMS-90032:“Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons':Icon-40.png”

It's frustrating to know that such a simple thing to do in XCode is seemingly complicated with expo.

@jimmylee

This comment has been minimized.

Copy link
Member

jimmylee commented Aug 23, 2017

I believe you're storing assets in ./src/assets when the example code is storing them in ./assets/

@enstulen

This comment has been minimized.

Copy link
Author

enstulen commented Aug 23, 2017

Thanks! I'll try that.

@enstulen

This comment has been minimized.

Copy link
Author

enstulen commented Aug 23, 2017

Didn't work :( Still getting the same error.

@jimmylee

This comment has been minimized.

Copy link
Member

jimmylee commented Aug 24, 2017

Bummer! well let me see if I can come up with some other ideas.

  • Do you mind uploading the icon asset you're trying to use here? I can do a once over to make sure you're using the right format, or try it myself.
  • Application loader comes bundled with Xcode tools. some people like to use beta releases of Xcode this time of year. Make sure you have the newest version that isn't a beta release...
  • You can extract your IPA with a archive tool and inspect the assets in there yourself..

The only other idea I can think of is having icons in the same default location as the template apps.

    "icon": "./assets/icons/app-icon.png",
    "notification": {
      "icon": "./assets/icons/notification-icon.png",
      "color": "#000000"
    },
    "loading": {
      "icon": "./assets/icons/loading-icon.png",
      "hideExponentText": false
    },
@enstulen

This comment has been minimized.

Copy link
Author

enstulen commented Aug 24, 2017

I sent a message to you on Slack.

@anp

This comment has been minimized.

Copy link
Contributor

anp commented Aug 24, 2017

Closing for now, will reopen if that slack conversation identifies any fix we need to make. Thanks!

@anp anp closed this Aug 24, 2017

@tomdye

This comment has been minimized.

Copy link

tomdye commented Sep 13, 2017

@dikaiosune @enstulen did you manage to get anywhere with this? I am having the same issue.
Cheers

@enstulen

This comment has been minimized.

Copy link
Author

enstulen commented Sep 13, 2017

The image is required to have transparency.

@KimHojJ

This comment has been minimized.

Copy link

KimHojJ commented Sep 14, 2017

I have the same issue. What do mean that the image is required to have transparency. If I save as png does it not have transparency.
How can I check if my image have transparency?
Thanks.

@enstulen

This comment has been minimized.

Copy link
Author

enstulen commented Sep 15, 2017

On Mac, right-click the image and show info. It needs to have an "alpha channel". I exported my image from illustrator and it didn't include it, so I exported it from photoshop instead and it did. Hopefully that helps.

@tomdye

This comment has been minimized.

Copy link

tomdye commented Sep 15, 2017

I found the issue to also be that the icon I was trying to use was not square or large enough. I don't recall seeing suggested icon size on the expo documentation.

@enstulen

This comment has been minimized.

Copy link
Author

enstulen commented Sep 15, 2017

It's in the documentation, but it's only recommended.

Local path or remote url to an image to use for your app’s icon. We recommend that you use a 512x512 png file with transparency. This icon will appear on the home screen and within the Expo app.

@KimHojJ

This comment has been minimized.

Copy link

KimHojJ commented Sep 16, 2017

They all have alpha channel. Still get the same messaged. I have 512x512 as well with transparency. This app have been submitted before with no problems and I did not change any icons.

@joshmello

This comment has been minimized.

Copy link

joshmello commented Sep 20, 2017

@KimHojJ I been having the same issues so you are not alone

@georgiemathews

This comment has been minimized.

Copy link

georgiemathews commented Sep 21, 2017

@KimHojJ having the same issue

@joshmello

This comment has been minimized.

Copy link

joshmello commented Sep 21, 2017

My issue was a few things. I made the image 200x200 and I was using a cdn for the logo but had to put it local. After that it worked. To test I created a dummy expo project through the XDE and used their icon image to make sure it submitted and it did so I used that as a template. Hope this helps.

@BenBrostoff

This comment has been minimized.

Copy link

BenBrostoff commented Nov 9, 2017

Interestingly, my build passes fine with Application Launcher, but I received an e-mail from iTunes Connect with the same error about 12 hours after the build. This seems like changes on Apple's side, as we were able to submit our app without issue before.

@NunoCardoso

This comment has been minimized.

Copy link

NunoCardoso commented Nov 20, 2017

Having exactly the same issue. Never had an issue, but now I got this error.
I am using sdk 23, app.json points to a 1024x1024 png image with alpha.

@terribleben

This comment has been minimized.

Copy link
Contributor

terribleben commented Nov 20, 2017

There is a different issue with the same symptom currently being tracked here: #980

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.