真机调试的时候,以前的设备在xcode上运行都没事,新的设备都运行不了,报三个错误跟证书有关系,附图一张Provisioning profile "iOS Team Provisioning Profile:XXXX"doesn't include the currently selected devi

这里只解决这个问题,去苹果官网,进入自己的开发者账号,进入证书,重新下载真机调试证书developer,然后双击会自动打开钥匙串,然后clean一下项目,手机拔掉重连,在TARGETS-->General里面显示成下图就可以运行成功了Provisioning profile "iOS Team Provisioning Profile:XXXX"doesn't include the currently selected devi

下载证书步骤:

1.Provisioning profile "iOS Team Provisioning Profile:XXXX"doesn't include the currently selected devi

2.Provisioning profile "iOS Team Provisioning Profile:XXXX"doesn't include the currently selected devi

3.点击上图,然后Provisioning profile "iOS Team Provisioning Profile:XXXX"doesn't include the currently selected devi

点击下载即可,把以前的证书删掉。

注意是真机调试证书哦,不要搞错咯

相关文章:

  • 2021-11-13
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
猜你喜欢
  • 2021-09-03
  • 2022-12-23
  • 2021-04-04
  • 2021-09-30
  • 2021-11-18
  • 2022-01-03
  • 2021-12-02
相关资源
相似解决方案