Hello,
The error means the build tool haven't detected the SigningIdentity
and CodesignProvision
. Signing certificates and provisioning profile are necessary to deploy the app to device according to Apple's requirement.
I'm not sure whether you have a development provision profile or not. If you have one, you can select this profile via VS: Right click the project, go to Properties->iOS->Bundle Signing to select your Signing Identity and Provisioning profile.
If you an Apple Developer Program and you don't have a correct provisioning profile, you can set automatic provisioning for you iOS app. (I can see you are using VS for Mac from the screenshot)
- Adding your Apple developer account to Visual Studio: see Apple account management - .NET MAUI | Microsoft Learn (The step 2 is for Individual Account, step 3 is for Enterprise Account, I'm not sure your account is an Individual Account or Enterprise Account.)
- Enabling automatic provisioning for the .NET MAUI app project: see Automatic Provisioning for Xamarin.iOS - Xamarin | Microsoft Learn
After that, you can deploy the app to your iPhone again.
Besides, if you don't have an Apple Developer Program, you can enroll your Apple ID in the Apple Developer Program or try free provisioning. (The free provisioning doc is about Xamarin, it applies for MAUI)
If you have any other issues, please feel free to post here.
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.