Skip to main content
Answered

iOS SDK 16.5.5 crash on startup NSInvalidArgumentException +[ICMBridge startMonitoringCrashes]: unrecognized selector sent to class 0x10748b618

  • February 15, 2024
  • 7 replies
  • 303 views

iOS SDK version 16.5.5

Crash on startup with the message:

NSInvalidArgumentException 

+[ICMBridge startMonitoringCrashes]: unrecognized selector sent to class 0x10748b618

We’re unable to reproduce this issue, but we see in Crashlytics that 2% of our users experience this issue.

Best answer by Ebenezer.Laleye

Hi @Aleksandr Anosov! Ebenezer here from Engineering Support👋.

Thanks for reporting this! I can see that you’ve chatted with my teammate Joseph in Support and you were able to find a workaround.  He’ll send your feedback to the relevant team and get back to you if there are any updates.

 

View original
Did this topic help you find an answer to your question?

7 replies

Forum|alt.badge.img+4

Hi @Aleksandr Anosov! Ebenezer here from Engineering Support👋.

Thanks for reporting this! I can see that you’ve chatted with my teammate Joseph in Support and you were able to find a workaround.  He’ll send your feedback to the relevant team and get back to you if there are any updates.

 



For us, it was unrelated to the Sentry integration, because after getting rid of Sentry the issue was still there. However, we found a workaround by delaying any calls to Intercom SDK classes from ’didFinishLaunching’ to the point of ‘viewDidLoad’ of the initial screens. But the cause of this is still unknown to us.


Thanks, will give that a shot @Aleksandr Anosov  


  • New Participant
  • 2 replies
  • February 27, 2024

@Ebenezer.Laleye We are also facing this issue and there seems to have been a few reports of the same / similar on the community forum.

 

Why do you reply to each of them with “I can see that you’ve chatted with my teammate Joseph in Support”? Why do you not provide the solution in the thread?
 

How do we go about contacting ‘Joseph in Support’ so we can obtain the secret solution?


 

Temporary worked around it with a delay, since with react native viewDidLoad was not an option. 1 Second was not enough 

 

  dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{

    [IntercomModule initialize:@"ios_sdk-asd" withAppId:@"asdf"];

});

 

Removed: [IntercomModule setDeviceToken:deviceToken];  and call it on RN side instead, otherwise it also needs a timeout. 


  • New Participant
  • 2 replies
  • February 28, 2024

@Filipe Fernandes Thank you! Using a delay seems like an unfortunate hack - was it suggested as a solution by Intercom?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings