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?