Reputation: 1951
The iOS simulator is issuing a SIGABRT signal attributed to main.m.
I am confused since I did not change main.m. Backtracing the debugger always returns the main function, which is not useful to me.
How does one go about debugging a SIGABRT signal in iOS? I wish XCode could let me know which line I wrote caused the signal to fire.
Here is what the console issues after terminating my program.
Couldn't register com.inimicalme.me.iosapp43 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.
I'm not quite sure though what this means or if it is directly related to the issuing of the SIGABRT.
Upvotes: 4
Views: 3299
Reputation: 395
The hang usually happens between two pieces - xcode and your device. If the device is a simulator, a restart will be needed. If not...
Good luck in the future.
Upvotes: 0
Reputation: 34912
The error in the console usually means you need to restart your device, restart Xcode or restart your Mac. Or some combination of those.
Although, that's not usually associated with a SIGABRT, but give it a try.
Upvotes: 4