/Users/hgm/XCode/Gnosys/TGuide/TGPrep/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
解决方法:
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.