Xamarin 没有安装的配置文件与安装的 iOS 代码签名密钥匹配 [英] Xamarin No installed provisioning profiles match the installed iOS code signing keys

查看:42
本文介绍了Xamarin 没有安装的配置文件与安装的 iOS 代码签名密钥匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在本地运行我的应用程序,而不是通过模拟器.

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

这些是我做过的事情:

  • 设置免费配置文件

  • 在提示时信任"我的 iPhone
  • 为配置文件启用这些设置:

但是,当我尝试在 iPhone 上本地运行该应用程序时,我仍然收到此错误

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

没有安装的配置文件与安装的 iOS 代码匹配签名密钥

No installed provisioning profiles match the installed iOS code signing keys

还可以做什么来在本地运行我的应用程序?

What else can be done to run my app locally?

推荐答案

登录 Apple Developer 会员中心 并查看您的证书.在左侧,您应该会看到 Provisioning Profiles 标题.单击它,您将找到您拥有的配置文件列表.现在,您需要使用您的应用在 Xamarin 中具有的相同应用标识符创建一个(您可以在 Info.plist 文件中找到它).之后,您需要打开 XCode 并通过 Xcode -> Preferences -> Accounts 下载它.清理、重建和调试 Xamarin 项目,然后重试.

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.

这篇关于Xamarin 没有安装的配置文件与安装的 iOS 代码签名密钥匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆