Why does Xcode 4.3.1 (4E1019) / 4.3.2 (4E2002) hang regularly with iOS simulator? [duplicate] Why does Xcode 4.3.1 (4E1019) / 4.3.2 (4E2002) hang regularly with iOS simulator? [duplicate] xcode xcode

Why does Xcode 4.3.1 (4E1019) / 4.3.2 (4E2002) hang regularly with iOS simulator? [duplicate]


Found a workaround that saves you killing Xcode when this happens: if a hang occurs when you are running the iPhone simulator switch to iPad simulator, or vice versa. You will get the message that the simulator is already in use, but ignore that. Then switch back to the device simulator that caused your trouble in the first place, a new run will work!

Perhaps Xcode has trouble contacting the running process in the simulator, above workaround helps.


i have found that the hang is harder than all that. can't even get in to switch simulators. Quit Xcode won't work because it doesn't want to stop all tasks. tried killing a zombied clang task, but that didn't work. didn't see either gdb or lldb tasks, though i know clang is associated with lldb.

so ... no answer except force quit xcode or kill -9 xcode processes in terminal.

update … try this https://stackoverflow.com/a/10277189/774691 (which is also referred to by this https://stackoverflow.com/a/13400190/774691 ) ! it's impossible to believe it works, but i use this 2-3 times a day, and i laugh and i laugh and i laugh. it's insane, but it works. vote it up. the guy who came up with that answer needs some serious upvotes!


Use GDB instead of LLDB (default) for debugging. There are some bugs in LLDB right now affecting launch hangs, false memory address readouts, uncaught breakpoints resulting in EXC_BREAKPOINT kills).