Admob errors with Spritekit - ios

Trying to integrate Admob with Spritekit.
I am getting an uncaught exception
"Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GADSlot state]: unrecognized selector sent to instance 0x17ef1440'"

Thanks to this link.
How to fix unrecognized selector issue in AdMob implementation?
I was missing the -objC flag.
Annoying!! (Wasted my full day!)

Related

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FBSDKApplicationDelegate initializeSDK]

I am working on a flutter project. Here I had to implement deeplink through notification. For this i am using flutter_facebook_app_links-2.0.0+2. I have done all the settings required for integrating the library described here . But my app is crashing due to
Class FBSDKBasicUtility is implemented in both /private/var/containers/Bundle/Application/BE7882D2-54B1-4E0A-A1E2-8CB5FAF8A3D3/Runner.app/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics (0x102922ab0) and /private/var/containers/Bundle/Application/BE7882D2-54B1-4E0A-A1E2-8CB5FAF8A3D3/Runner.app/Runner (0x101262350). One of the two will be used. Which one is undefined..
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FBSDKApplicationDelegate initializeSDK]: unrecognized selector sent to instance 0x281323750'.
Can anyone help me out to solve the issue?
Have a look at your info.plist file for iOS. It must contain the FacebookAppId, the DisplayName, and the URL Schemes.This is Also described in Step 2 Of Getting Started

'-[FBLPromise pendingObjects]: unrecognized selector sent...' Crash on Integrating reCAPTCHA Enterprise with iOS apps

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?

Firebase AdMob implementation crashing app

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.

Getting strange issue while running Objective-C framework in Swift Project

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

_NSZeroData _fastCharacterContents error

I'm developing native iOS application. my app crashes with error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_NSZeroData _fastCharacterContents]: unrecognized selector sent to instance 0x14dcba60'
what this means? Somebody please help me to solve this problem.

Resources