Thread 1: signal SIGABRT

I am getting the error "Thread 1: signal SIGABRT". When I try running, it successfully runs, but then does not get to the main.storyboard like it's supposed to. I have looked at many other feeds, but they all say to check the Outlet Collections, but since there is nothing on my storyboard, I cannot find any reason why this would happen. Here is the code:



Metier2`main:

0x1033ca210 <+0>: pushq %rbp

0x1033ca211 <+1>: movq %rsp, %rbp

0x1033ca214 <+4>: subq $0x20, %rsp

0x1033ca218 <+8>: movq 0x1c7f61(%rip), %rax ; (void *)0x00000001070a48d0: globalinit_33_FD9A49A256BEB6AF7C48013347ADC3BA_token4

0x1033ca21f <+15>: movq 0x1c7efa(%rip), %rcx ; (void *)0x00000001070a48cc: static Swift.CommandLine._argc : Swift.Int32

0x1033ca226 <+22>: movl %edi, (%rcx)

0x1033ca228 <+24>: cmpq $-0x1, (%rax)

0x1033ca22c <+28>: movl %edi, -0x4(%rbp)

0x1033ca22f <+31>: movq %rsi, -0x10(%rbp)

0x1033ca233 <+35>: je 0x1033ca24b ; <+59> at AppDelegate.swift:13

0x1033ca235 <+37>: movq 0x1c7f44(%rip), %rdi ; (void *)0x00000001070a48d0: globalinit_33_FD9A49A256BEB6AF7C48013347ADC3BA_token4

0x1033ca23c <+44>: movq 0x1c7f35(%rip), %rax ; (void *)0x0000000106f44b20: globalinit_33_FD9A49A256BEB6AF7C48013347ADC3BA_func4

0x1033ca243 <+51>: movq %rax, %rsi

0x1033ca246 <+54>: callq 0x103547a2e ; symbol stub for: swift_once

0x1033ca24b <+59>: movq 0x1c7ec6(%rip), %rax ; (void *)0x00000001070a48d8: static Swift.CommandLine._unsafeArgv : Swift.UnsafeMutablePointer<Swift.Optional<Swift.UnsafeMutablePointer<Swift.Int8>>>

0x1033ca252 <+66>: movq -0x10(%rbp), %rcx

0x1033ca256 <+70>: movq %rcx, (%rax)

0x1033ca259 <+73>: callq 0x1033ca0b0 ; type metadata accessor for Metier2.AppDelegate at AppDelegate.swift

0x1033ca25e <+78>: movq %rax, %rdi

0x1033ca261 <+81>: callq 0x1035475f6 ; symbol stub for: NSStringFromClass

0x1033ca266 <+86>: movq %rax, %rdi

0x1033ca269 <+89>: callq 0x10354778e ; symbol stub for: objc_retainAutoreleasedReturnValue

0x1033ca26e <+94>: xorl %edx, %edx

0x1033ca270 <+96>: movl -0x4(%rbp), %edi

0x1033ca273 <+99>: movq -0x10(%rbp), %rsi

0x1033ca277 <+103>: movq %rax, %rcx

0x1033ca27a <+106>: callq 0x1035479e6 ; symbol stub for: UIApplicationMain

0x1033ca27f <+111>: xorl %edi, %edi THIS IS WHERE THE ERROR IS

0x1033ca281 <+113>: movl %eax, -0x14(%rbp)

0x1033ca284 <+116>: movl %edi, %eax

0x1033ca286 <+118>: addq $0x20, %rsp

0x1033ca28a <+122>: popq %rbp

0x1033ca28b <+123>: retq


This is in Thread 1, 12 Main, under the Debug Navigator. When I run the app, this is what appears in the Debug Area:



Jun 11 14:17:00 Metier2[13899] <Info>: - <AppMeasurement>[I-ACS036002] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist

2019-06-11 14:17:00.975 Metier2[13899:467258] Unknown class _TtC7Metier218HomeViewController in Interface Builder file.

Jun 11 14:17:00 Metier2[13899] <Error>: 6.1.0 - [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.

Jun 11 14:17:01 Metier2[13899] <Error>: 6.1.0 - [Firebase/Core][I-COR000005] No app has been configured yet.

2019-06-11 14:17:01.431 Metier2[13899:467258] *** Terminating app due to uncaught exception 'com.firebase.core', reason: '`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.'

*** First throw call stack:

(

0 CoreFoundation 0x000000010c15ed4b __exceptionPreprocess + 171

1 libobjc.A.dylib 0x000000010bbc021e objc_exception_throw + 48

2 CoreFoundation 0x000000010c1c82b5 +[NSException raise:format:] + 197

3 Metier2 0x000000010a3e469b +[FIRApp configure] + 523

4 Metier2 0x000000010a3e0801 _TFC7Metier211AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb + 97

5 Metier2 0x000000010a3e0974 _TToFC7Metier211AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb + 180

6 UIKit 0x000000010c5793c2 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 290

7 UIKit 0x000000010c57ad47 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4236

8 UIKit 0x000000010c5810ed -[UIApplication _runWithMainScene:transitionContext:completion:] + 1731

9 UIKit 0x000000010c57e26d -[UIApplication workspaceDidEndTransaction:] + 188

10 FrontBoardServices 0x000000010f1d56cb __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24

11 FrontBoardServices 0x000000010f1d5544 -[FBSSerialQueue _performNext] + 189

12 FrontBoardServices 0x000000010f1d58cd -[FBSSerialQueue _performNextFromRunLoopSource] + 45

13 CoreFoundation 0x000000010c103761 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17

14 CoreFoundation 0x000000010c0e898c __CFRunLoopDoSources0 + 556

15 CoreFoundation 0x000000010c0e7e76 __CFRunLoopRun + 918

16 CoreFoundation 0x000000010c0e7884 CFRunLoopRunSpecific + 420

17 UIKit 0x000000010c57caea -[UIApplication _run] + 434

18 UIKit 0x000000010c582c68 UIApplicationMain + 159

19 Metier2 0x000000010a3e127f main + 111

20 libdyld.dylib 0x000000010e70868d start + 1

)

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb)


I apologize in advance if this is hard to read. Any help would be greatly appreciated. Thanks in advanced.


-Bri

Replies

Your app is crashing because the third-party SDK you’re calling has thrown an language exception:

2019-06-11 14:17:01.431 Metier2[13899:467258] *** Terminating app due to uncaught exception 'com.firebase.core', 
reason: '`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. 
Please download one from https://console.firebase.google.com/.'

The exception clearly highlights the problem (line 2) and the remedial action you have to take (line 3). If you’re having problems doing that, my recommendation is that you pursue this via the support resources associated with that third-party SDK. While Firebase is a popular SDK, you’re more likely to get help from a site dedicated to Firebase rather than here on DevForums, which is focused on Apple’s tools and APIs.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"