问题
I am getting this error while running in device please do need full help to solve this;
Couldn't register com.XXXXX.deviceapp 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”.
回答1:
I have had this happen where I needed to restart the phone before error would go away.
Deleteing the app, restarting Xcode, clean build, didn't do anything. I shut the phone down and bought it back up and the error went away.
回答2:
Most annoying bug. Only solution at this point:
If you're trying to run on a device: Shut off and restart device
If you're trying to run in simulator on Mac: restart your Mac
You can also do a Force Quit on the process via the Activity Monitor.
回答3:
I've run into that with the simulator and the only solution I've found is to reboot the computer running Xcode.
回答4:
kill all Simulator processes, that can cause this error as well. using following terminal command
kill -9 `ps ax | grep Simulator | grep -v grep | awk '{print $1}'`
Reference
回答5:
This seems to happen with the LLDB debugger when an app is paused at a breakpoint and the app is run again from xcode. The result is a zombie process on either the device or the development machine (when debugging in the simulator).
Only way to resolve seems to be a restart of the iDevice or the machine running the simulator.
Stopping the app completely before running it again in the debugger appears to prevent the problem from happening.
回答6:
I managed to solve the issue by deleting my device form the Xcode 4.4 Organizer:
- disconnect your device from your computer.
- in Xcode: Window => Organizer
- Choose the first tab ("Devices") from the top panel
- Right click your device from the list at the left side of the Organizer, and choose "remove from organizer"
来源:https://stackoverflow.com/questions/5727388/couldnt-register-com-xxxxx-deviceapp-with-the-bootstrap-server