My Firebase iOS App i had to put the frameworks in manually due to some reason in cocoapods.
i have been getting an crash error saying
2016-06-04 00:48:51.356 NewFirebase[74218:11918327] Configuring the default app.
2016-06-04 00:48:51.401 NewFirebase[74218:11918425] +[NSData gtm_dataByGzippingData:]: unrecognized selector sent to class 0x10bdd8110
2016-06-04 00:48:51.403 NewFirebase[74218:] <FIRAnalytics/INFO> Firebase Analytics v.3200000 started
2016-06-04 00:48:51.404 NewFirebase[74218:11918425] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSData gtm_dataByGzipping
The only line i have put related to firebase is
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.
FIRApp.configure()
FBSDKApplicationDelegate.sharedInstance().application(application,
didFinishLaunchingWithOptions: launchOptions)
return true
}
other is related to facebook login i am gonna put with firebase
These are the frameworks in it
This is what the linker section looks like in the build settings
Please feel free if you want any more code
if i get rid of FIRApp.configure()
Everything works fine as its supposed to be ..
You need to add these libraries
to Link Binary With Libraries.
Go to Targets -> Build Phases
add two parameter in Other Linker Flags
$(inherited)
-ObjC
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With