Problem uploading ipa file to app store

Daniel Manchester 81 Reputation points
2023-02-27T21:33:29.79+00:00

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

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