Posts

Post not yet marked as solved
1 Replies
1.7k Views
I am installing my app to Firebase, and was following the steps: register app, download config file, add Firebase SDK, add initialization code, and run your app to verify installation. For some reason, when I went on Firebase to complete the installation, the five steps weren't there. Instead, three steps were available: register app, download config file, read the get started guide for iOS. I was actually originally about to finish the last step of five: run your app to verify installation. But because there are only three steps now, I cannot do that anymore. Also, even after selecting “continue to console”, there is still the red notification icon in the project overview, saying, “Continue SDK setup”. It would be great if someone could tell me where I can just be able to go back to the original five steps so that I can "verify installation" like I would have been able to originally.Here is the screenshot of what it looks like now.Here is what I want it to look like.Thanks ahead of time. Any help is greatly appreciated!-Bri
Posted
by Bri Ho.
Last updated
.
Post not yet marked as solved
1 Replies
2.1k Views
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.plist2019-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
Posted
by Bri Ho.
Last updated
.
Post not yet marked as solved
3 Replies
4.1k Views
I have been trying to get rid of many errors, and this one still persists: if ([localeClass respondsToSelector:localeSelector]) { IMP getLocaleIMP = [localeClass methodForSelector:localeSelector]; NSString *(*getLocale)(id, SEL) = (void *)getLocaleIMP; NSString *fcmLocale = getLocale(localeClass, localeSelector); if (fcmLocale != nil) { return fcmLocale; } } NSString *systemLanguage = [[NSLocale preferredLanguages] firstObject]; if (systemLanguage != nil) { return systemLanguage; } int iOS; int available; if (available(iOS 10.0, *)) { (ISSUE expected ')') return [NSLocale currentLocale].languageCode; } else { return nil; }}No matter where I look, I cannot find where to put the ')'. This is forbidding me to run the app, which is quite inconvenient. On the side, it says:Parse IssueExpected ')'! To match '('Please help!
Posted
by Bri Ho.
Last updated
.