SIGABRT accident on the first line

I have an iOS app that is running until yesterday and suddenly started crashing from Thread 1: signal SIGABRT

at this point:

class AppDelegate: UIResponder, UIApplicationDelegate {

      

Having no idea about the reason, I typed bt

in the debug console and got the following:

(lldb) bt
* thread #1: tid = 0xda342, 0x0000000194637270 libsystem_kernel.dylib`__pthread_kill + 8, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x0000000194637270 libsystem_kernel.dylib`__pthread_kill + 8
    frame #1: 0x00000001946d5170 libsystem_pthread.dylib`pthread_kill + 112
    frame #2: 0x00000001945aeb18 libsystem_c.dylib`abort + 112
    frame #3: 0x000000018badf2ec GraphicsServices`_GSRegisterPurpleNamedPortInPrivateNamespace + 424
    frame #4: 0x000000018bade1d4 GraphicsServices`_GSEventInitializeApp + 140
    frame #5: 0x0000000186c86c38 UIKit`UIApplicationMain + 712
  * frame #6: 0x00000001000592f0 TheApp`main + 164 at AppDelegate.swift:13
    frame #7: 0x000000019451ea08 libdyld.dylib`start + 4
(lldb) 

      

Browsing the net for similar issues I've read could be caused by some StoryBoard related issues, but since I'm doing everything programmatically, I have some doubts that this is relevant to my case. I also tried using an exception breakpoint just in case, but with no success.

I even redid the project, the problem still exists. It seems like something went wrong, even before my code starts executing. I wonder what I can check.

Anyway, if someone can give me a hint as to what the problem might be, or how to investigate further, that would be much appreciated.

+3


source to share





All Articles