Unable to deploy iOS app to device

Jassim Al Rahma 1,526 Reputation points


I am still unable to deploy iOS app to the device even after updating my Visual Studio for Mac but now I am getting this error:


I deleted the obj and bin, uninstalled the app from the device, and restarted my Mac and device many times.

Here is my VS for Mac version:


A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor


    It is caused by that you signed this application with a Distribution provisioning profile.

    You need to use Developer provisioning profile to debug your app.

    You could select the Signing Identity to be Developer (automatic) or turn to Apple Developer to create a provisional profile which is of development type and use it to resolve the error.

    In addition, Xcode 14 is not is not supported in MAUI for iOS, please refer to this thread Can't execute or debug Xamarin IOS project to get the details about how to downgrade Xcode.

    Best Regards,

    Alec Liu.

    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.