bing map integration in iphone - ios

I am trying to implement bing maps in iphone. I am able to show the map. But the problem is that whenever I try any interaction with the map, it crashes. Here's the error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[BMMapViewInternal touchesBegan:withEvent:inView:]: unrecognized selector sent to instance 0x4e777e0'
any idea as to how this can be solved?

Check the read-me, section "Add Linker Flags":
- Set the value of the Other Linker Flags environment variable to -ObjC -all_load.

Related

Firebase NSInvalidArgumentException in Cocos2d-x Game - '-[__NSCFConstantString fira_UTF32Length]: unrecognized selector

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.

FireBase-Analytics IOS

i'm new mobile developer, today i add firebase analytics framework in my project using code [FIRApp configure], so when i running app, the app be crash.Someone can help me fix this bug? Thanks all! Here's log in xcode:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSData gtm_dataByGzippingData:]: unrecognized selector sent to class 0x1a0c5a8b8'
* First throw call stack:
(0x1834f9900 0x182b67f80 0x183500514 0x1834fd5b8 0x18340168c 0x1001cda2c 0x1001e17c8 0x1001e13b8 0x1012d1bf0 0x1012d1bb0 0x1012de6c8 0x1012d58a0 0x1012d1bb0 0x1012e0e10 0x1012e04d8 0x183161470 0x183161020)
libc++abi.dylib: terminating with uncaught exception of type NSException
Please download the latest zip file. I had similar crash when I forgot to add the linker flag -ObjC. Are you by any chance missing that flag:
Add the -ObjC flag to "Other Linker Settings": a. In your project settings, open the Settings panel for your target b. Go to the Build
Settings tab and find the "Other Linking Flags" setting
in the Linking section. c. Double-click the setting, click the '+' button, and add "-ObjC" (without quotes)
Here is where it should be1

NSCFData gunzippedData crash

I am integrating PayU in my swift 2 based project by using sample code source from link: https://github.com/payu-intrepos/iOS-SDK/releases/tag/v3.3
The app crashes with the following log in the console, when the payu webview code from the class PayUUIPaymentUIWebViewController is executed:
webViewDidStartLoad URL-----> 2016-01-07 19:07:59.788
MyTestApp[14764:2080307] -[__NSCFData gunzippedData]: unrecognized
selector sent to instance 0x7f80395de440 2016-01-07 19:07:59.809
MyTestApp[14764:2080307] *** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '-[__NSCFData gunzippedData]:
unrecognized selector sent to instance 0x7f80395de440'
It is an unhandled exception. Does anyone know what this means? What could be the cause of it?
In your Xcode project add "-Objc" in Other Linker Flags in Project Build Settings.

Error after submitting app to store -[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)?

How to fix unrecognized selector issue in AdMob implementation?

I have following problem:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GADSlot state]: unrecognized selector sent to instance
I have linked all required frameworks.
I was missing -ObjC flag in Other Linker flags
Go to Project settings > Build Settings And set -ObjC in Other Linker Flags.

Resources