The crash is below. What am either failing to do, or am doing wrong? I have tried all of the suggestions provided at this Stackoverflow thread:
http://stackoverflow.com/questions/37625029/firebase-crash-ios-swift
I appreciate any assistance.
2016-07-25 18:56:15.257 [818:413804] Configuring the default app.
2016-07-25 18:56:15.291 [818:] <FIRAnalytics/INFO> Firebase Analytics v.3200000 started
2016-07-25 18:56:15.302 [818:] <FIRAnalytics/INFO> To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/Y0Yjwu)
2016-07-25 18:56:15.307 [818:413842] +[NSData gtm_dataByGzippingData:]: unrecognized selector sent to class 0x19ff79d60
2016-07-25 18:56:15.308 [818:413842] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSData gtm_dataByGzippingData:]: unrecognized selector sent to class 0x19ff79d60'
*** First throw call stack:
(0x181e9adb0 0x1814fff80 0x181ea1b44 0x181e9ebec 0x181d9cc5c 0x10029c77c 0x1002afb74 0x1002af764 0x10071da7c 0x10071da3c 0x10072a554 0x10072172c 0x10071da3c 0x10072cc9c 0x10072c364 0x181afd470 0x181afd020)
libc++abi.dylib: terminating with uncaught exception of type NSException
For the error no :1
To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/Y0Yjwu)
Solution is as below -
Go to :
> Edit Scheme , then select
> Run (Debug) , then select
> Arguments
> Add “-FIRAnalyticsDebugEnabled” @ Argument Passed on Launch
For Error 2 :
[NSData gtm_dataByGzippingData:]: unrecognized selector sent to class 0x19ff79d60
Solution is as below -
> Please check that you have added “-ObjC” at your Project’s “Bundle Settings” at “Other Linker Flag”.
> Please make sure that the same “-ObjC” value should be added at Target’s “Bundle Settings” at “Other Linker Flag”.
> Then, Clean and Build the Xcode.
Now, your code should work.
>> If you still face same issue then quit the Xcode once and re-open the same project again.
Hope this will Help you out!
Cheers!
Nisarg Shah.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/f1b46341-6346-42bd-ace1-f178ec9eadae%40googlegroups.com.