Issues with App Icons (152x152, 167x167, 1024x1024) when trying to Upload to Apple Store RRS feed

  • Question

  • User394529 posted

    Hi guys, I hope someone can assist me with the following issues I am facing.

    Apple removed their UIWebView and replaced it with another one, to get that to work I had to update Visual Studio, Xamarin.Forms and Xamarin.iOS (as per the Microsoft Documentation, can't post links as this is my first post) I updated Visual Studio to 16.5.4 (latest right now), Xamarin.Forms to and Xamarin.iOS to

    The button on Visual Studio (Windows) "Show IPA File on Build Server" is greyed out (Yes I am in Release, not Debug and I also have it set to iPhone and not iPhoneSimulator). So a way around that is that I am manually browsing to the .ipa on the Mac, the path is as follows: Library/Caches/Xamarin/mtbs/builds/<appname>.ios/<GUID>/bin/iPhone/Release/device-builds/iphone10.4-13.3/<appname>.ios.ipa

    I Drag and Drop this into the Transporter App, and then click on Deliver, to send the App to the Apple Store, then I run into the following: ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png for iOS versions >=10.0" This is repeated for 167x167 as well.

    For 1024 the following issue is found: ERROR ITMS-90704: "Missing App Icon. An app icon measuring 1024 by 1024 pixels in PNG format must be included in the Asset Catalog of apps built for iOS, iPadOS, or watchOS. Without this icon, apps cannot be submitted for review."

    I do have these 3 images within my Asset Catalog in my app.

    Can anyone please assist with this?

    Monday, May 11, 2020 8:40 AM

All replies

  • User369978 posted
    • Try to delete the image asset catalog and create a new one , fill with all the images inside it .

    • check the path of XSAppIconAssets in Info.plist .

    Refer https://stackoverflow.com/questions/38441983/xamarin-ios-missing-required-file-icon-error-itms-90022-itms-90023 .

    Tuesday, May 12, 2020 10:03 AM
  • User394529 posted

    Hi @ColeX

    Unfortunately this did not do the trick for me.

    Deleted the whole Asset in the Asset Catalog, added the images again, and double checked the Info.plist.

    I got the same errors within the Transporter App again.

    Tuesday, May 12, 2020 2:50 PM
  • User369978 posted

    There are some points you need to know about app icon , one of them is that

    Keep the background simple and avoid transparency. Make sure your icon is opaque, and don’t clutter the background. Give it a simple background so it doesn’t overpower other app icons nearby. You don’t need to fill the entire icon with content.

    Refer https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/app-icon/

    Wednesday, May 13, 2020 9:20 AM
  • User394529 posted

    Hi @ColeX

    Thank you for the Info, I've removed the Alpha Layer with the Transparency already, it doesn't have an issue with the rest of the App Icons in the project.

    Friday, May 15, 2020 6:41 AM
  • User369978 posted

    What's the version of XCode are you using ? Is is the latest ?

    Monday, May 18, 2020 6:20 AM
  • User394529 posted

    XCode is at the moment on Version 11.4.1, which I believe is the latest version at this time

    Monday, May 18, 2020 8:10 AM
  • User393949 posted

    OK - I hate going in and looking at csproj files and json files and all that other stuff. I want Xamarin to handle this for me. But I had these problems and spent two days trying stuff and looking at stuff. MY problem had to do with Apple not thinking that a 76x76 icon was included. ITMS-90023 I look at my App.IOS -> Asset Catalogs -> Assets and you see all the icons there, and it looks like they are all there. Now I have created all kinds of sizes of my icons (why can't we drag one high resolution icon, and let the system automatically resize the icons? I can do this in C# pretty easily - would be really nice if Xamarin or Apple would just do this automatically). So I finally went to notepad and looked at the file "contents.json" in the "..\App.iOS\Assets.xcassets\AppIcon.appiconset" folder, and I found this:

      "scale": "1x",
      "size": "76x76",
      "idiom": "ipad",
      "filename": "cc72.png"

    It had my 72 pixel icon in there for the 76x76. The system will not let you drag an icon with the wrong size in there, but somewhere along the way, Xamarin must have gotten confused and put the wrong entry in here. So I went back to Visual Studio and dragged my 76x76 icon back in to that spot. I can see on the properties that the file name changed from cc72.png to cc76.png. (Actually, for some reason, it renames my file to cc761.png - not sure why, but it seems to take it, and you can see the icon file in one of the folders under app.ios).

    Now save everything and rebuild my IPA. Uploaded to App Store with no error.

    Potential input to Xamarin development team:

    1. Allow us to put in one icon at the highest resolution needed - say 1024x1024. Then Xamarin uses C# bitmap objects to resize and create different files for all the icons needed everywhere. Would save us a bunch of time.

    or 2. When Building the IPA, check all the icon files for the sizes the icons are supposed to be, compared to the size the icons actually are. Then display an error message that tells you exactly what the problem is. Then, we can easily fix it, instead of getting the failure when sending to the Apple Store, and then going through the needle in the haystack process of figuring out what is wrong.

    Sunday, June 7, 2020 1:51 PM
  • User390160 posted

    Has anyone had this issue again? All of the sudden in transporter I have an error that I am missing an App Icon 1024x1024

    Sunday, April 11, 2021 6:45 PM