Xamarin provision profiles not working

Joshua Tanton 1 Reputation point
2021-05-26T21:27:29.517+00:00

I recently opened up a project that was building only a few weeks before. However, whenever I try to build (either on debug using a development profile, or release using a distribution profile I get the following error.

Could not find any available provision profiles for "ProjectName" on iOS. - (Xamarin.Shared.targets)

At first this only happened for debug, I built successfully on release and after that I get this either way. The profiles are most certainly still valid, and they do show up in the build options. So I don't understand why I am getting this error, it makes absolutely no sense. I even get this message for debug when using an automatic development signing identity. This is on vs for mac.

Any help would be greatly appreciated as I have been stuck on this for many many hours and all I want to do is modify a ui element.

(I've had nothing but issues with provisioning profile since I started with xamarin 4 years ago, it's very frustrating)

Thanks,

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kyle Wang 5,531 Reputation points Microsoft External Staff
    2021-05-27T09:28:32.407+00:00

    Hi JoshuaTanton-3752,

    Welcome to our Microsoft Q&A platform!

    Here are some steps you can refer to.

    1.Modify the "Scheme" to "Automatic Provisioning" and check if it works.

    2.Clear all provisioning profiles under path ~/Library/MobileDevice/Provisioning Profiles.

    3.Check if the bundle ID in the Mac is consistent with the bundle ID of your project.

    4.Follow the document Manual provisioning for Xamarin.iOS to create new profiles.

    6.Update the VS to the latest.

    5.If all the steps doesn't work, try to report a problem on Developer Community.

    Here are some threads you can refer to.

    https://forums.xamarin.com/discussion/183871/no-matching-profiles-found-vs-mac-ios-release-build-failing

    https://forums.xamarin.com/discussion/145885/no-matching-provisioning-profiles-found-cant-deploy-ios-app-to-phone

    https://developercommunity.visualstudio.com/t/xamarin-ios-provisioning-profile-not-showing-when/957696#T-N990455

    Regards,
    Kyle


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.