Hello,
You could edit the .csproj file and add the provisioning profile information. For example
<PropertyGroup Condition="'$(TargetFramework)'=='net8.0-ios'">
<ProvisioningType>manual</ProvisioningType>
<CodesignKey>Apple Development: Created via API (XXXXX)</CodesignKey>
<CodesignProvision>*profile</CodesignProvision>
</PropertyGroup>
From the screenshot on Xcode, we can see a help button (i), you could click it to see the detailed information. The Signing Certificate Apple Development on Xcode means the CodesignKey on .csproj.
For more details, you could refer to Free Provisioning for Xamarin.iOS Apps - Xamarin | Microsoft Learn. (This doc is about Xamarin, it applies to MAUI.)
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.