Appicons "missing" in maui ios ipa file when uploading to app store

Ajay 0 Reputation points
2023-06-12T19:20:04.92+00:00

I am trying to upload my Maui app to app store connect. Consistently running into "Asset Validation Failed" for icon sizes 120x120, 167x167, 152x152, 1024x1024.

However, every once in a while it will go through totally fine, I didnt do anything different in those cases.

So far I have ensured the appicon is set to MAUI icon. That it is a multiple of 8. I have tried cleaning and rebuilding, deleting bin and obj folders all in different sequences. I have also tried switching back to the sample .NET maui appicon with no luck.

I can also confirm that the contents.json file is referencing the appicons correctly and all the appicons that are "missing" are present inside the release xcassets folder. I reference this xcassets folder in the info.plist.

I was able to publish the sample maui app with no issues. I have tried cross referencing this sample project with mine (namely the csproj file & info.plist) and I do not really see any difference.

I have opened up the ipa file and "decrypted" the assets.car file. I notice that when my app uploads successfully the appicons are referenced in this file and when it doesnt work they do not. But I do not understand what causes this difference.

Has anyone run into a similar issue. Or has anyone been able to modify an ipa after creation and resign and reseal it and publish to appstore?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,149 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ajay 0 Reputation points
    2023-06-29T14:34:16.7266667+00:00

    What ended up solving the issue was targeting a physical ipad when archiving instead of the generic device.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.