iOS真机无法连接Xcode问题

2020-04-05  本文已影响0人  kkrabbit

使用Apple ID上真机调试,无法连接iphone,同时报以下两个错误。

Failed to create provisioning profile. There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it.

Xcode couldn't find a provisioning profile matching xx

换成苹果家的数据线解决,原先用的是USB一转三的数据线,网上此类问题不少,可能的原因除了数据线问题,还有以下两种可能:

  1. 连接的设备ios版本与xcode的工程里的版本设置相比,较低,在xcode工程中更改设置即可。
  2. bundle identifier不唯一,更改即可。
上一篇 下一篇

猜你喜欢

热点阅读