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

本秂侑毒 提交于 2019-12-03 12:57:33

问题


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

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

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?


回答1:


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.




回答2:


Go to xcode/preference/ account add a apple ID if you don have any...if you have double click in the name ...and look the name appear in iOS Team Provisioning Profile. Now open in xamarin the info.plist and in Bundle Identifier put this name. and now should load a provisional profile.



来源:https://stackoverflow.com/questions/35474495/xamarin-no-installed-provisioning-profiles-match-the-installed-ios-code-signing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!