error:Failed to find or create execution context for description ‘<IBCocoaTouchPlatformToolDescription: 0x7fe0ddceada0> System content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7fe0dd8606b0> scaleFactor=2x’. These intermediate objects were non-nil
這是升級完xcode后庸毫,全局的xib報錯
使用終端進行解決:
kill掉所有的模擬器的進程
$ sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
重新打開xcode,運行即可正常;如果仍然異常,需要重置所有的模擬器操作
$ xcrun simctl erase all