Hello all, this is my first post in Apple's Developer Forums, so please let me know if I'm not providing enough or the correct information. I am a web developer and am trying to put a new version one of my team's applications (built in react native) up to be able to use Test Flight and begin testing on physical devices. I recently upgraded my MacOS to Sequoia 15.5, and have the latest Xcode 16.3.
I have been able to build the react native application and run it on a simulator on my device. I have also set up the cert, provisioning profile and bundle identifier. The step I am lost at is that whenever I archive, and attempt to distribute app or even validate app, I get the following errors.
Validation failed 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 >= 10.0. To support older versions of iOS, 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/documentation/bundleresources/information_property_list/user_interface (ID: 1bd64325-339e-44a5-8c60-70a476ebd395)
Validation failed Missing Info.plist value. A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'bundlename'. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7. (ID: 61a5c97f-9f49-4f97-a305-d4cf09bc3ce5)
This happens no matter what I do. However, I have checked over and over again, and my info.plist file DOES have the appropriate key: <key>CFBundleIconName</key> <string>AppIcon</string>
My AppIcon images are located here: project-root/ios/project-name/Images.xcassets/AppIcon.appiconset
I have the following Contents.json { "images" : [ { "size" : "20x20", "idiom" : "iphone", "filename" : "icon-20-2x.png", "scale" : "2x" }, { "size" : "20x20", "idiom" : "iphone", "filename" : "icon-20-3x.png", "scale" : "3x" }, { "size" : "29x29", "idiom" : "iphone", "filename" : "icon-29.png", "scale" : "1x" }, { "size" : "29x29", "idiom" : "iphone", "filename" : "icon-29-2x.png", "scale" : "2x" }, { "size" : "29x29", "idiom" : "iphone", "filename" : "icon-29-3x.png", "scale" : "3x" }, { "size" : "40x40", "idiom" : "iphone", "filename" : "icon-40-2x.png", "scale" : "2x" }, { "size" : "40x40", "idiom" : "iphone", "filename" : "icon-40-3x.png", "scale" : "3x" }, { "size" : "60x60", "idiom" : "iphone", "filename" : "icon-60-2x.png", "scale" : "2x" }, { "size" : "60x60", "idiom" : "iphone", "filename" : "icon-60-3x.png", "scale" : "3x" }, { "size" : "20x20", "idiom" : "ipad", "filename" : "icon-20.png", "scale" : "1x" }, { "size" : "20x20", "idiom" : "ipad", "filename" : "icon-20-2x.png", "scale" : "2x" }, { "size" : "29x29", "idiom" : "ipad", "filename" : "icon-29.png", "scale" : "1x" }, { "size" : "29x29", "idiom" : "ipad", "filename" : "icon-29-2x.png", "scale" : "2x" }, { "size" : "40x40", "idiom" : "ipad", "filename" : "icon-40.png", "scale" : "1x" }, { "size" : "40x40", "idiom" : "ipad", "filename" : "icon-40-2x.png", "scale" : "2x" }, { "size" : "76x76", "idiom" : "ipad", "filename" : "icon-76.png", "scale" : "1x" }, { "size" : "76x76", "idiom" : "ipad", "filename" : "icon-76-2x.png", "scale" : "2x" }, { "size" : "83.5x83.5", "idiom" : "ipad", "filename" : "icon-83.5-2x.png", "scale" : "2x" }, { "size" : "1024x1024", "idiom" : "ios-marketing", "filename" : "icon-1024.png", "scale" : "1x" } ], "info" : { "version" : 1, "author" : "xcode" } }
Those files all exist in the folder (there is an @ symbol in the names of the files, but I replaced with a - here because the forum thought I was adding mailto: addresses.) When I look on Xcode at the images, it looks like all required sizes are there. The file for 40-3x and 60-2x are both exactly 120x120 pixels.
I cannot for the life of me figure out what is missing and what is wrong. I have tried different iterations of this whole folder and Contents.json, I have generated them using the generators based off of the 1024 image. I am wondering if something could have happened after I updated to the latest MacOS and Xcode versions.
Any help would be greatly appreciated