13

When I try to do anything in Playground, this pops up before I even finish typing a word.

Error running playground. Failed to launch iOS stub for playground: The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died).

and when I just try to run IOS Simulator I get the following error

Unable to boot the iOS Simulator.

oh and this error just popped up

An error was encountered while running (Domain = DTiPhoneSimulatorErrorDomain, Code = 2)

I tried rebooting, I closed out and opened again, I deselected file and reselected. Just keeps happening. Anyone have a solution?

4

3 回答 3

4

您的防火墙阻止了调试器,您需要允许它连接:

TCP out 127.0.0.1:63748

或允许debugserver进程开放访问(无论您或您的防火墙更喜欢哪个)。

启用它并重新启动 Xcode 后,一切都应该像魅力一样工作。

注意/更新:

如果您在查找或允许时遇到问题,debugserver只需暂时尝试禁用防火墙并重新启动 xcode。游乐场好用吗?哦,别忘了确保你已经打开了助手视图并显示了输出框。

于 2014-06-06T02:55:36.110 回答
1

目前 Xcode 6 测试版需要驻留在 \Applications 中才能使操场和模拟器工作。将其移到那里后,您需要重新启动。

于 2014-06-06T14:53:56.417 回答
0

 当我在 Xcode 完成将我的应用程序附加到模拟器之前关闭模拟器时,我弹出了这个错误。打开模拟器并再次运行应用程序解决了这个问题。

于 2018-02-27T14:47:19.107 回答