I found a solution: Just deleted and recreated the Assets folder in Visual Studio 2022 on Windows: The main thing that seems to have worked is to use the GUI to create a new AssetCatalog, then reference the images again. This worked for me and I was able to successfully validate and upload the IPA file to the App Store in TestFlight.
Xamarin.Forms app upload error - Asset validation failed , 90023 , 90704 - Icons missing
Working on an initial app store submission using VS 2019 for Mac and am getting the following error after creating the .ipa and uploading via transporter. Asset validation failed (90023) Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format for iOS versions supporting iPad Pro. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/.../informatio.../user_interface (ID: 1fb2edaf-b3e1-4696-9cb2-48358ded5f94) Asset validation failed (90023) Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format for iOS versions >= 10.0. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/.../informatio.../user_interface (ID: b917ff32-15a4-4ab6-a6e6-96559299c2f8) Asset validation failed (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. For details, see https://developer.apple.com/.../icons-and-images/app-icon/. (ID: 11bf2022-bbae-4d89-b021-6e0f31d9c591)
Images have been verified that they are in the assets directory.
2 answers
Sort by: Most helpful
-
-
Josue Palacios 0 Reputation points
2023-10-24T01:27:27.9633333+00:00 This worked for me
Specifically, I had to add the
<key>CFBundleIconFile</key><string>AppIcon</string>
and the<dict> <key>CFBundlePrimaryIcon</key> <dict> <key>CFBundleIconName</key> <string>AppIcon</string> </dict> </dict>
at the bottom.Next,. I removed all icons from the Assets.xcassets and added a single AppIcon of 1024x1024 pixels. Square, PNG without transparency. The settings for the icon in Xcode 14.3 are:
Name AppIcon
iOS Single Size
macOS None
watchOS None
Gamut AnyWith these settings, I archived the app setting the 'iOS Build Only Device' to Generic Device (This is the last option in the list and marked by an Xcode icon)
After archiving, I was able to send the app through Transporter without any issues. And after Transporter, I could link the app to a new release and submit it for review.
You can take a look of this issue here: https://github.com/xamarin/xamarin-macios/issues/18991