简体   繁体   English

Xcode:无法运行模拟器错误

[英]Xcode: Unable to run simulator error

An error was encountered while running (Domain = NSMachErrorDomain, Code = -308) 运行时遇到错误(域= NSMachErrorDomain,代码= -308)

That is the popup message I get every time. 那是我每次收到的弹出消息。 I found another question on here that had a bunch of solutions. 我在这里发现了另一个问题,该问题有很多解决方案。 I tried a dozen of them without much luck. 我尝试了很多,但运气不佳。 After seeing the error message it will load the "Home" screen of the simulator but will have trouble running my app. 看到错误消息后,它将加载模拟器的“主页”屏幕,但在运行我的应用程序时会遇到问题。

I made a new blank project and only added a text label to see if the error still happened with a next to blank app and it did. 我做了一个新的空白项目,只添加了一个文本标签,以查看空白应用程序旁边的错误是否仍然发生,并且确实如此。

Any ideas? 有任何想法吗?

打开iOS模拟器并通过单击“重置内容和设置”将其还原。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM