Problem uploading ipa file to app store

I have generated an IPA file for my Maui project but when I go to upload it to the app store in xcode I get the following error.
Profile doesn't include the CFBundleDocumentTypes,
CFBundleIdentifier,
CFBundleShortVersionString,
LSRequiresIPhoneOS,
MKDirectionsApplicationSupportedModes,
NSLocationAlwaysAndWhenInUseUsageDescription,
NSLocationWhenInUseUsageDescription,
NSPhotoLibraryAddUsageDescription,
NSPhotoLibraryUsageDescription,
UIDeviceFamily,
UIRequiredDeviceCapabilities,
UISupportedInterfaceOrientations,
UISupportedInterfaceOrientations~ipad,
and XSAppIconAssets entitlements.
Here is what my info.plist looks like
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>LSRequiresIPhoneOS</key> <true/> <key>UIDeviceFamily</key> <array> <integer>1</integer> </array> <key>UIRequiredDeviceCapabilities</key> <array> <string>arm64</string> </array> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> <key>UISupportedInterfaceOrientations~ipad</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> <key>XSAppIconAssets</key> <string>Assets.xcassets/appicon.appiconset</string> <key>CFBundleIdentifier</key> <string>myappidendifier</string> <key>CFBundleShortVersionString</key> <string>1</string> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>Document Type 1</string> </dict> <dict> <key>CFBundleTypeName</key> <string>MKDirectionsRequest</string> <key>LSItemContentTypes</key> <array> <string>com.apple.maps.directionsrequest</string> </array> </dict> </array> <key>NSPhotoLibraryAddUsageDescription</key> <string>This app needs access to the photo gallery to save photos and videos.</string> <key>NSPhotoLibraryUsageDescription</key> <string>This app needs access to the photo gallery to save photos and videos.</string> <key>NSLocationAlwaysAndWhenInUseUsageDescription</key> <string>Can we use your location at all times?</string> <key>NSLocationWhenInUseUsageDescription</key> <string>Can we use your location when your app is being used?</string> <key>MKDirectionsApplicationSupportedModes</key> <array> <string>MKDirectionsModeCar</string> </array> <key>MinimumOSVersion</key> <string>12.0</string> <key>CFBundleDisplayName</key> <string>myappname</string> </dict> </plist>
Thanks for your help
I created the IPA file by using the save as button in the publish --> distribute option in VS. I used the App store option this time and this time I am getting the following validate error.
Asset 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: d8a2df20-bc0d-4a3e-8e63-e8f3e292823f)
Asset validation failed
Missing Info.plist value. A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'com.gochronicle.chroniclemobile'. 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: 569734f3-ae6c-4978-8c8c-7e5d17b3fb5c)
I created the IPA file by using the save as button in the publish --> distribute option in VS. I used the App store option this time and this time I am getting the following validate error.
Asset 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: d8a2df20-bc0d-4a3e-8e63-e8f3e292823f)
Asset validation failed
Missing Info.plist value. A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'com.gochronicle.chroniclemobile'. 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: 569734f3-ae6c-4978-8c8c-7e5d17b3fb5c)
The error points to Appicon. I try to archive an empty template MAUI project and deliver the ipa by Transporter, it works. May I ask how did you set the Appicon? You replaced the default
appicon.svg
file, right? There is aXSAppIconAssets
key in Info.plist, you can check if it is missing.For more details, please refer to Change the app icon - .NET MAUI | Microsoft Learn
Sign in to comment