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

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

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

[UICachedDeviceWhiteColor pointSize]: unrecognized selector sent to instance 0x1c424a5c0'

The application is crashing when i launch the Application. (Xcode 9, iOS 11)
Error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UICachedDeviceWhiteColor
pointSize]: unrecognized selector sent to instance 0x1c0452870'
Thanks
Actually the project i was working on was developed by unfamiliar developer. They set the placeholder color keypath as placeHolderColor to UITextField.
I just removed that and fixed with _placeholderLabel.textColor
Now i didn't get any crash while launching the Application
Thanks

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.

_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.

Glympse Lite API Dismiss Button crash

I am trying to incorporate the Glympse Lite iOS SDK v1.0.12 into my app.
But I have a problem.
Trying to Dismiss "Sending.." screen causes the application to crash.
Tried to use solution from here https://stackoverflow.com/a/17889940/3805275 but still get the crash.
Try to do the same with the sample project GlympseHistoryLiteDemo and also get crash with the following output:
-[GLYConfiguratorViewerOwner onDismissPleaseWait:]: unrecognized selector sent to instance 0x15daa5c0
TICKET_CHANGED FIRED
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
'-[GLYConfiguratorViewerOwner onDismissPleaseWait:]: unrecognized selector sent to instance 0x15daa5c0'
*** First throw call stack:
(0x2e1d0f4b ...) libc++abi.dylib: terminating with uncaught exception of type NSException
Any ideas what might be causing this crash and possible solution ?
Btw, I was testing on iPod Touch with iOS 7.0.4.

Resources