Skip to main content
Answered

Intercom iOS SDK 15.0.0: New Lottie dependency integration is botched and cause conflicts with host app Lottie integration


Hello,

The latest Intercom iOS SDK version (15.0.0) has an integration of the Lottie Animation framework.  

This dependency seems integrated statically.  

Unfortunately if the host app also integrates Lottie, we now are flooded with following warnings from the System when running the app:  

...
objc[69173]: Class _TtC6Lottie14AnimatedButton is implemented in both /Users/username/Library/Developer/CoreSimulator/Devices/BFEE2DFC-C11E-470B-B711-48A3266380E2/data/Containers/Bundle/Application/B04B0D15-DDBA-4889-BE53-1EB98904A186/HOSTAPP.app/Frameworks/Lottie.framework/Lottie (0x1055dc0b0) and /Users/username/Library/Developer/CoreSimulator/Devices/BFEE2DFC-C11E-470B-B711-48A3266380E2/data/Containers/Bundle/Application/B04B0D15-DDBA-4889-BE53-1EB98904A186/HOSTAPP.app/Frameworks/Intercom.framework/Intercom (0x104d407e0). One of the two will be used. Which one is undefined.  
...

(One of each for each Lottie class)

It is too risky for us to go to production with the version 15.0.0 of the Intercom SDK so we are rolling back to 14.1.0. 
  
The solutions on your side to avoid the problem are:  

  • Integrate Lottie as a proper external dependency (in the Podspec for example). 
  • Rename all Lottie classes so that they don’t conflict with the host app Lottie classes
  • Remove the Lottie integration

 

Best answer by Paul M11

Hey there @Valentin Pertuisot 👋 

Paul here from Intercom Support!

 

I’m going to loop you in with our support team who can dig into this further ✅

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

5 replies

  • Employee
  • 53 replies
  • Answer
  • May 30, 2023

Hey there @Valentin Pertuisot 👋 

Paul here from Intercom Support!

 

I’m going to loop you in with our support team who can dig into this further ✅


Also i have the same problem. I would like to ask that this problem be solved as soon as possible, everyone who uses lottie lib, cannot use the intercom.


Hi, just updated the SDK and experiencing the same issue :| Any idea on when this will be resolved?


Now also with Sentry. which breaks the app
….

objc[57118]: Class _TtC13SentryPrivate12UrlSanitized is implemented in both /private/var/containers/Bundle/Application/1CA25BC6-8226-493F-971F-D9C9C0EE2030/[Redacted].app/Frameworks/Intercom.framework/Intercom (0x104171640) and /private/var/containers/Bundle/Application/1CA25BC6-8226-493F-971F-D9C9C0EE2030/[Redacted].app/[Redacted] (0x100ee2cb0). One of the two will be used. Which one is undefined.

….

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[ICMBridge startMonitoringCrashes]: unrecognized selector sent to class 0x104173488'


Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • March 3, 2024

Hi @Filipe!

A fix has been implemented for that Sentry error. If you update your SDK to our latest version it should clear that up for you.


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