将 Xcode 更新到版本 10.3 (10G8) 后故事板损坏,应用程序不再运行

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/57156617/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 11:00:25  来源:igfitidea点击:

Storyboard broken after updating Xcode to version 10.3 (10G8) & app no longer is running

xcodestoryboard

提问by Alfi

I just updated the Xcode to version 10.3 (10G8).

我刚刚将 Xcode 更新到版本 10.3 (10G8)。

Now my project is not run with this error: enter image description here

现在我的项目没有运行这个错误: 在此处输入图片说明

/* com.apple.actool.errors */
: error: 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
/* com.apple.actool.compilation-results */
/Users/xxx/Library/Developer/Xcode/DerivedData/xxxxx-dxlvvymxzdfqjubnuntqlxggtyja/Build/Intermediates.noindex/xxxxx.build/Debug-iphonesimulator/xxxxx.build/assetcatalog_generated_info.plist

And the storyboard is now like this: enter image description here

故事板现在是这样的: 在此处输入图片说明

回答by Justin Vallely

Running sudo killall -9 com.apple.CoreSimulator.CoreSimulatorServicefrom terminal solved my problem.

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService从终端运行解决了我的问题。

回答by z33

I restarted my mac, the problem solved.

我重新启动了我的 mac,问题解决了。