Skip to main content
Answered

Intercom SDK breaks LLDB commands


I am unable to run any lldb debugger commands with intercom because I get the following error:
 

warning: Swift error in scratch context: error: compiled module was created by a different version of the compiler '5.9.0.128.108'; rebuild 'Intercom' and try again: Intercom

 

Aside from this, the app builds fine. Its just super annoying because I can no longer debug

 

I am using Intercom 16.6.0

Best answer by Brent-envoy

Some additional updates here.

I was able to fix the issue by both updating to the latest intercom and latest Xcode.

I believe the issue is caused because the intercom framework is a binary compiled with the latest version of swift. So using an older version of Xcode (even if its only the previous version), leads to this swift version mismatch error.

However, upgrading to the latest Xcode is not an ideal solution, as Xcode 15.3 has been incredibly unstable. So my team has been using Xcode 15.2 instead.

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

6 replies

bernice
Intercom Team
Forum|alt.badge.img+5
  • Intercom Team
  • 230 replies
  • April 8, 2024

Hey @Brent-envoy 👋 The latest release of the iOS SDK is 17.0.0 - Can I ask you to first update your version to make sure this isn't an issue our team has already addressed?

If this persists, I ask that you reach out to the team as due to the nature of this issue we will likely require some further details from you here - thanks!


  • Author
  • New Participant
  • 3 replies
  • April 8, 2024

Hi, the latest version 17.0.0 does not solve the issue.


bernice
Intercom Team
Forum|alt.badge.img+5
  • Intercom Team
  • 230 replies
  • April 9, 2024

Thanks for this update @Brent-envoy. Can you confirm what version of Xcode you’re using?

We’re currently looking into fixing this, but we do not have an exact timeline at the moment.


  • Author
  • New Participant
  • 3 replies
  • April 9, 2024

I am using Xcode 15.2


bernice
Intercom Team
Forum|alt.badge.img+5
  • Intercom Team
  • 230 replies
  • April 15, 2024

Thanks for confirming this @Brent-envoy - I’ve opened up a conversation so I can add your issue for tracking on our internal issue, I’ll be in touch via the Messenger on your workspace with further information here!


  • Author
  • New Participant
  • 3 replies
  • Answer
  • April 16, 2024

Some additional updates here.

I was able to fix the issue by both updating to the latest intercom and latest Xcode.

I believe the issue is caused because the intercom framework is a binary compiled with the latest version of swift. So using an older version of Xcode (even if its only the previous version), leads to this swift version mismatch error.

However, upgrading to the latest Xcode is not an ideal solution, as Xcode 15.3 has been incredibly unstable. So my team has been using Xcode 15.2 instead.


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