Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swift Playground and Simulator Error (ipc/mig) server died, Unable to boot the iOS Simulator

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?

like image 370
Robert E DelValle Avatar asked Jun 04 '14 03:06

Robert E DelValle


1 Answers

Your firewall is blocking the debugger, you need to allow it to connect:

TCP out 127.0.0.1:63748

Or allow the debugserver process open access (whichever you, or your firewall, prefer(s)).

Upon enabling it, and restarting Xcode everything should work like a charm.

Note/Update:

If you're having trouble finding, or allowing, the debugserver simply try, temporarily, disabling your firewall and restart xcode. Does the playground work? Oh, and don't forget to make sure you've got the assistant view open and the output box showing.

like image 174
tehprofessor Avatar answered Oct 12 '22 10:10

tehprofessor