Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Splunk is conflicting with GMSServices

splunk is conflicting with GMSServices which make app crash. if i start splunk session GMSPicker crash the application and shows.

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

     Mint.sharedInstance().initAndStartSession("XXXX");
     GMSServices.provideAPIKey("XXXX");

}

-[SplunkNSURLSessionDataDelegateInterceptor setSession:]: unrecognized selector sent to instance 0x7fb2f30e4380

like image 210
Alizain Prasla Avatar asked Dec 17 '25 14:12

Alizain Prasla


1 Answers

Only Google could solve this problem by overriding respondsToSelector to return whether the target responds to delegate selector.

You can work around. Disable network monitoring before initializing the SDK.

[[Mint SharedInstance] disableNetworkMonitoring];

for swift

Mint.sharedInstance().disableNetworkMonitoring()
Mint.sharedInstance().initAndStartSessionWithAPIKey(XXXXX)
like image 151
Chavda jaydeep Avatar answered Dec 19 '25 07:12

Chavda jaydeep



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!