xcode真机调试弹出iPhone is not available.Pleasere connect the device.解决方案

在xcode真机调试时会弹出提示iPhone is not available.Pleasere connect the device.

通常的做法就是
首先我们打开xcode->Window->Devices and Simulators
xcode真机调试弹出iPhone is not available.Pleasere connect the device.解决方案_第1张图片
看ERRORS AND WARNINGS,看报错的信息来修复问题
xcode真机调试弹出iPhone is not available.Pleasere connect the device.解决方案_第2张图片
查看报错的原因,因为我的iphone的ios版本是13.6,所以目前的xcode(11.5)要更新到最新的版本才可以兼容
xcode真机调试弹出iPhone is not available.Pleasere connect the device.解决方案_第3张图片
更新xcode(11.6)后,可以兼容ios(13.6)了,重启xcode再进行真机调试就可以了。
xcode真机调试弹出iPhone is not available.Pleasere connect the device.解决方案_第4张图片

你可能感兴趣的:(ios,Xcode,ios,xcode)