title: iOS App runs on simulator but not device?
body: <p>My application has no errors, warnings or memory leaks, runs flawlessly on the simulator, but black screens on my iPhone 4 running with iOS 5.  The <code>SIGABRT</code>'s happens in main on this line:</p>
  
  <pre><code>int retVal = UIApplicationMain(argc, argv, nil, nil);
  </code></pre>
  
  <p>Since my code seems ok, does anyone know what kind of things in general can cause this kind of behavior?  </p>
  
  <p>Where else can I look for possible errors?  All the references to this <code>SIGABRT</code> I'm getting are in assembly... 0.o</p>
  
  <p><strong>EDIT:</strong>
  Output from the debugger:</p>
  
  <pre><code>This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys000
  sharedlibrary apply-load-rules all
  target remote-mobile /tmp/.XcodeGDBRemote-4281-83
  Switching to remote-macosx protocol
  mem 0x1000 0x3fffffff cache
  mem 0x40000000 0xffffffff none
  mem 0x00000000 0x0fff none
  [Switching to process 7171 thread 0x1c03]
  [Switching to process 7171 thread 0x1c03]
  Couldn't register BearNun.Stack-Meet-App 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.(gdb) 
  </code></pre>
  
  <p>Not sure where another process would be running...I deleted the app from the iPhone, cleaned my project, and then ran it again (once the stop button was greyed out, I thought that meant that no processes in the program were running).</p>