Failed to find a suitable device for the type IBSimDeviceTypeiPad2x

更新了 Xcode10.3 后运行报错
Assets.xcassets:-1: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4

方法1:

$ sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
# 可用可不用 看情况
$ sudo xcode-select -s  /Applications/Xcode.app/Contents/Developer

方法2:

$ xcrun simctl erase all
Failed to find a suitable device for the type IBSimDeviceTypeiPad2x_第1张图片
一脸黑人问号 ???

不定期更新 不合适的地方 还请指点~ 感激不尽

你可能感兴趣的:(Failed to find a suitable device for the type IBSimDeviceTypeiPad2x)