Search code examples
xamarinprovisioning-profile

Xamarin No installed provisioning profiles match the installed iOS code signing keys


I am trying to run my app locally and not through an emulator.

These are the following things that I have done:

  • set up the free provisioning profile

enter image description here

  • "trusted" my iPhone when prompted
  • Enabled these settings for provisioning profile:

enter image description here

However, I am still getting this error when trying to run the app locally on an iPhone

No installed provisioning profiles match the installed iOS code signing keys

What else can be done to run my app locally?


Solution

  • Log into the Apple Developer member center and review your certificates. Down to the left you should see the Provisioning Profiles title. Click it and you'll find a list of the profiles you have. Now you need to create one with the same app identifier that your app has in Xamarin (you find it in the Info.plist file). After that you need to open XCode and download it through Xcode -> Preferences -> Accounts. Clean, rebuild and debug Xamarin project and try again.