iOS Simulator Frequently hangs; can't register with the bootstrap server
||Date Originated:||9th Feb 2012|
||Product Version:||Xcode 4.2.1 / OS X 10.7.2|
When trying to run an application on the iOS Simulator, it hangs on opening with the following error:
"Couldn't register com.my.app.name.here with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.Program received signal: “SIGABRT”."
Steps to Reproduce:
Run an app in the iPhone 4.3 or 5.0 simulator, stop it at a breakpoint in gdb, then either a) build and run again or b) press the home button, quit the simulator and then build and run.
The app launches and runs.
gdb hangs with the following error: "Couldn't register com.my.app.name.here with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.Program received signal: “SIGABRT”."
Quitting the Simulator, clearing Derived Data, quitting Xcode... none of this resolves the issue. The only way to get the simulator working again is to either a) restart the machine or b) login as another administrator and kill my developer user's launchd process. This is very disruptive and happens frequently on the latest build, especially when switching between simulators.
It is well-documented here: http://stackoverflow.com/questions/788277/iphone-strange-error-when-testing-on-simulator
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!