I am using Google Firebase for analytics, crash reporting, authentication...
I installed SDKs with Cocoa Pods. All currently installed SDKs work fine.
After adding AdMob SDK my app crashes. Right after successful build I get different errors on different devices.
Iphone 6s:
-[NSTaggedPointerString count]: unrecognized selector sent to instance
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString count]: unrecognized selector sent to instance 0xa000000000062662'
And iPad 2:
-[__NSCFString count]: unrecognized selector sent to instance 0x6100000348a0
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString count]: unrecognized selector sent to instance 0x610000024dc0'
I am not even initialising AdMob in AppDelegate class, just implementing it and trying to build.
If I remove AdMob from project, app works fine so its definitely AdMob problem.
I really cant find any useful help or someone with similar problem. Creating new and clean project definitely wont be my solution.
I guess there is something wrong with my project configuration, because in my other project I have implemented AdMob about month ago and everything works fine.
Related
So I direct downloaded the framework and followed all the steps listed here https://cloud.google.com/recaptcha-enterprise/docs/instrument-ios-apps#direct-download.
But when I run the project it throws *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FBLPromise pendingObjects]: unrecognized selector sent to instance 0x600002eb8c90'. For those who are unaware FBLPromise is one of the dependencies on reCAPTCHA framework.
Did anyone face the same problem? or know a way out on how to resolve the same?
I'm trying to integrate Firebase (C++ edition) into our Cocos2d-x game, but I'm getting the runtime error:
2018-04-19 10:03:26.163854-0700 WordTurds-mobile[2328:2036998] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString fira_UTF32Length]: unrecognized selector sent to instance 0x1013a4a40'
This is occurring when initializing Firebase inside our AppController.mm's didFinishLaunchingWithOptions method, specifically this line is crashing:
firebaseApp = firebase::App::Create(firebase::AppOptions());
It might also be interesting that I tried using the Objective-C version of Firebase and saw the same exception when sending an Analytics screen view manually.
Adding -ObjC to the Other Linker Flags fixes the issue. I didn't have any ObjC in my project so I didn't think I needed the flag.
Not sure what is the issue, and unable to find on goggle too.
Application screen became black and app crashed.
-[BSMutableSettings applicationWillResignActive:]: unrecognized selector sent to instance 0x13ed05f20
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[BSMutableSettings applicationWillResignActive:]: unrecognized selector sent to instance 0x13ed05f20
l have followed all the steps on the google for ios sdk and imported all the libraries and headers, did set up my key on the appdelegate and my app including #import on the bridging header, then went to my Project NOT Target as per instructions please see attachment, l can but still my app crashes with *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GMSMapView animateToCameraPosition:]: unrecognized selector sent to instance
I am developing an iOS 7 app that integrates the Google Maps SDK for iOS.
When testing the app on both iOS devices and emulator it works well.
After submitting the app to the store, when I try to access the part that contains the map it crashes. The phone log shows me this error
-[GMSMapView animateToCameraPosition:]: unrecognized selector sent to instance 0x17da2490 <Error>:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
-[GMSMapView animateToCameraPosition:]: unrecognized selector sent to instance 0x17da2490'"
I don't know what I'm doing wrong.
With the Google maps SDK, 'unrecognized selector' often occurs if you haven't included the -ObjC linker flag.
Could it be that you've included -ObjC in the debug build settings (which you might be using when running it from XCode), but it's missing in the release build settings (which it would use when you build to submit to the App Store)?