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.