3

I have tried to clean out all targets and caches, restart Xcode, reset the simulator, kill all simulator processes and also restart my laptop, but nothing works and the following error still shows:

Couldn't register com.yourcompany.myApp 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.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Hayley
  • 51
  • 1
  • 4
  • Check this :: http://stackoverflow.com/questions/7975785/bootstrap-server-error-in-iphone-sdk – Saiful Jan 11 '12 at 06:50
  • Refer to my answer at other SO Post : http://stackoverflow.com/questions/8027411/bootstrap-error-ios-5-0-simulator-in-xcode-4-2/16134344#16134344 – DShah Apr 21 '13 at 17:54
  • Possible duplicate of [Error when testing on iOS simulator: Couldn't register with the bootstrap server](https://stackoverflow.com/questions/788277/error-when-testing-on-ios-simulator-couldnt-register-with-the-bootstrap-server) – Cœur Jan 30 '19 at 06:34

2 Answers2

0

Many have had this kind of error like here. I restarted my Mac and this error did not reappear.

Community
  • 1
  • 1
Surpher
  • 517
  • 4
  • 10
0

If you are running a Universal app in the simulator, build for the other device after you get this error.

So, if you got the error for the iPad sim, build for the iPhone without hitting "Stop" or closing the iPad sim. That will build for the iPhone in this case, then once it's running, build for the iPad...or vice versa. This is a quick fix without restarting, but it seems to stop working after a while.

It's also sometimes related to some of the AppDelegate methods like applicationWillTerminate, applicationWillEnterForeground, etc. Check your appDelegate methods for any bugs.

whyoz
  • 5,168
  • 47
  • 53