Termination Reason: … code:0x8BADF00D …
This suggests that your app is being killed by the watchdog. For more info on this, see Addressing Watchdog Terminations.
Consider the backtrace of the main thread:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib __psynch_cvwait + 8
1 libsystem_pthread.dylib _pthread_cond_wait + 1228
2 Patient.iOS
…
35 Patient.iOS
36 UIKitCore -[UIApplication _handleDelegateCallbacksWithO…
…
70 UIKitCore UIApplicationMain + 2092
71 Patient.iOS
…
80 Patient.iOS
81 dyld start + 520
Frames 81 through 71 are your main
function and code called by that. Frame 70 shows that it’s called UIApplicationMain
. Frames 70 through 36 are UIKit starting up. The name in the final frame suggests that UIKit is calling one of your app delegate methods. Frames 35 through 2 are your code, which is ultimately blocked in a pthreads condition variable (frames 1 and 0).
To make progress here you’ll need to uncover the identity of the code in frames 35 through 2, which means symbolicating your log. For advice on that, see Adding Identifiable Symbol Names to a Crash Report.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"