iOSPlease ensure the provisioning profile is configured for this device

双击为Xcode安装描述文件的时候,弹出错误提示:Please ensure the provisioning profile is configured for this device. If not, please try to generate a new profile.

(翻译过来:请确保为该设备配置了配置文件。如果没有,请尝试生成一个新的配置文件。)

出现这种情况通常是从别处拷贝过来的描述文件,在自己的电脑上安装时出现的,就是因为描述设备没有同步过来.

 解决方法:

1.打开Xcode---菜单栏 Window -> Devices and Simulators

2.点击Devices,找到设备,右键--Unpair Device (如下图)

3.完成步骤2即完成一个设备的 Unpair,接下来对面板上的所有设置都进行一次 Unpair Device

(注:要对所有设备都进行Unpair Device,否则还是会报错)

完成以上1、2、3步骤,再双击你的描述文件,既可安装成功;如若不成,那就重启Xcode再试一次!

 

猜你喜欢

转载自blog.csdn.net/wyz670083956/article/details/127607319
今日推荐