So you just downloaded someone’s code sample from GitHub, loaded it into Xamarin Studio on your Mac, started to build the app for the iOS Simulator … and promptly got smacked by the big red error message saying “Error: No installed provisioning profiles match the installed iOS code signing keys”. Fear not — the error message is wrong. You aren’t missing a provisioning profile. Provisioning profiles are only needed when building for an actual physical device — they aren’t needed for running iOS apps on the Simulator.
The fix is simple: most likely the project had been erroneously saved with a “Custom Entitlements” value for the iPhoneSimulator platform. (One of the older versions of Xamarin.VisualStudio used to do this.) Open up the “Build / iOS Bundle Signing” page for the iOS project settings and blank out any “Custom Entitlements” value for “Platform: iPhoneSimulator” — it probably contains the value “Entitlements.plist”. Rebuild the project; all should now be well.
Mohammed A/Hakam says
Thank you, you saved me a lot of hours !!
Michal says
To access keychain on simulator you will have to specify empty Entitlements.plist file in Custom Entitlements signing section to get rid of error that can be found in output when accessing keychain – http://stackoverflow.com/questions/39487368/xamarin-auth-store-keychain-not-working-after-ios10-upgrade
Bill Bartlett says
Ugh. Hopefully the bug that was rejecting the empty Entitlements.plist file has now been fixed, but it sounds like it was traded for a different bug instead. Thanks for the tip!
Rajnedra Bhandari says
Thank you so much!