.net – Can’t distribute MAUI iOS App to app store VS2022 The “CompileAppManifest” task was not given a value for the required parameter “DefaultSdkVersion”


We have written an MAUI App in VS2022 Windows (.NET 8) – it complies, works fine on iOS and Android simulators. It has deployed successfully to the Google Play store. But we cannot get it to deploy to the iOS store. The app bundle is created successfully, but at the point where we try to deploy it we get the error:

**Could not create ipa file for distribution of the archive ” The “CompileAppManifest” task was not given a value for the required parameter “DefaultSDKVersion”.
**

enter image description here

I believe this issue is relating to a problem with the project editor. Under iOS -> Build -> SDK version, the dropdown list is EMPTY, so I cannot choose an SDK version.

enter image description here

Manually adding the key to the appropriate makes no difference.

enter image description here

Can anyone please help resolve this issue?
Thank you

We have tried:

  1. Cleaning and rebuilding the app
  2. Deleting the Obj and Bin folders and rebuilding
  3. Disconnecting and reconnecting to the iMac used for building
  4. Various configuration tweaks.

We expect things to work as described here: https://learn.microsoft.com/en-us/dotnet/maui/ios/deployment/publish-app-store?view=net-maui-8.0&tabs=vs

None of the suggestions at: The “CompileAppManifest” task was not given a value for the required parameter “DefaultSdkVersion” have resolved the issue.

We are running the latest version of xCode on the build iMac, and the latest (non preview) version of Vs2022.

Leave a Reply

Your email address will not be published. Required fields are marked *