Xcode 11.7 安装报Failed to find a suitable device for the type IBSimDeviceTypeiPad2x

从Xcode 11.6 升级安装后编译项目报错:

Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 13.7 (13.7 - 17H22) - com.apple.CoreSimulator.SimRuntime.iOS-13-7

 

解决办法:

解决方法:

Kill all simulator processes

$ sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

Set the correct XCode path

$ sudo xcode-select -s  /Applications/Xcode.app/Contents/Developer

If not, reset all simulator

$ xcrun simctl erase all

 

如果还是不行

重启Mac.


参考:
作者:劉_50fd
链接:https://www.jianshu.com/p/c757ab4c853c
来源:简书
posted @ 2021-02-24 23:19  beansoft  阅读(199)  评论(0编辑  收藏  举报