解決 Failed to find a suitable device for the type IBSimDeviceTypeiPad2x
問題描述
Failed to launch tool with description <IBCocoaTouchPlatformToolDescription: 0x7f85b2c99300> System content for IBCocoaTouchFramework-EightAndLater <IBScaleFactorDeviceTypeDescription: 0x7f85b2cb71b0> scaleFactor=2x: Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x7f85b2c99300> System content for IBCocoaTouchFramework-EightAndLater <IBScaleFactorDeviceTypeDescription: 0x7f85b2cb71b0> scaleFactor=2x'. These intermediate objects were non-nil:
Underlying Errors:
Description: 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
Failure Reason: Failed to create new simulator device that matches IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) for runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4 (Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4)
Underlying Errors:
Description: Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4
查看了一下蒲每,目前網(wǎng)上的方法吼鱼。
1 clean
2 清除runtime文件夾
3 清除 DerivedData
完全無用 。
最佳解決方案。
xcode10.2.png
1 重啟mac 【信我絕對有用】
?? 10.3 我不知道重啟管不掛用,我是換回 10.2 重啟 恢復(fù)的。
抓緊下材泄,趁還沒下班。