Xcode 12.3 RC compile issue with Intercom.framework | Community
Skip to main content
Answered

Xcode 12.3 RC compile issue with Intercom.framework

  • Dec 10, 2020 3:01 AM UTC
  • 10 replies
  • 317 views

We've been using Intercom.framework in our iOS app for some time without issues. However we're upgrading to the Xcode 12.3 Release Candidate and have encountered a new error which fails our build:

 

Building for iOS Simulator, but the linked and embedded framework 'Intercom.framework' was built for iOS + iOS Simulator.

 

It appears that this latest version of Xcode is validating the original framework binary and well before "strip-frameworks.sh" is called.

The error goes away if we manually remove the unneeded architectures from the source fat binary, but getting this right for all build flavours is going to be quite tricky.

 

Are there any known or recommended workarounds? Is there a plan to update Intercom to using .xcframework as that would help this area too?

Best answer by Anonymous

Just to follow up on this, we released v9.0.0 of the iOS SDK yesterday with the fix for this issue. Release notes are available here: https://github.com/intercom/intercom-ios/releases/tag/9.0.0/p>

View original

10 replies

  • Dec 10, 2020 7:19 AM UTC

👋 Hey! Thanks for posting about this. Xcframework is something we're working on, but I don't have a release date in mind just yet. I'll check in with the team today to see if they have anything they can recommend for you in the meantime.


  • Dec 10, 2020 2:09 PM UTC

Hey @user528​! One of our Engineers will reach out to you directly via Intercom. Would be good to check a couple of things 👍


  • Author
  • New Participant
  • Dec 13, 2020 7:31 PM UTC

Hi Mathew, he contacted me but I'm not being able to reply to the conversation directly, Intercom says the conversation has ended. Can you please ask him to send me another message?

Thanks!


  • Dec 14, 2020 8:33 AM UTC

D'oh! Sorry about that. I'll let him know 👍


  • New Participant
  • Dec 16, 2020 8:42 AM UTC

Hey! We are facing a same issue.


  • New Participant
  • Dec 16, 2020 8:53 AM UTC

Hi, we are also facing this issue. We are unable to build the app with such problem.


  • Dec 16, 2020 9:05 AM UTC

Hey folks. We've been working on this since the Xcode release candidate was made available, and we'll be releasing an updated version of the iOS SDK today. This will resolve the issue 👍


  • New Participant
  • Dec 16, 2020 6:49 PM UTC

Do you know if we can get notified of this release? Stuck unable to build 😅


  • Answer
  • Dec 17, 2020 7:29 AM UTC

Just to follow up on this, we released v9.0.0 of the iOS SDK yesterday with the fix for this issue. Release notes are available here: https://github.com/intercom/intercom-ios/releases/tag/9.0.0/p>


  • Dec 17, 2020 7:33 AM UTC

Hey. We don't have a way to notify you about new releases at the moment, but you can see them all in our GitHub repo here: https://github.com/intercom/intercom-ios/releases/From there, you can watch the repo and select the 'releases only' option to be notified 👍