swift-sdk icon indicating copy to clipboard operation
swift-sdk copied to clipboard

Objective-C modules are incompatible with Objective-C++ (React Native 0.68+)

Open shamilovtim opened this issue 2 years ago • 1 comments

The Iterable docs recommending using the @import Objective-C module syntax: Screen Shot 2022-06-14 at 7 28 04 PM

Unfortunately, this is not compatible with Objective-C++ (React Native 0.68+): Screen Shot 2022-06-14 at 7 29 37 PM

Please provide us with the headers we can import instead of the module syntax.

Related: https://github.com/firebase/FirebaseUI-iOS/issues/875 https://github.com/facebook/react-native/issues/33692 https://github.com/invertase/react-native-firebase/pull/6223 https://github.com/segmentio/analytics-ios/issues/1036

shamilovtim avatar Jun 14 '22 23:06 shamilovtim

Thanks for reporting this @shamilovtim ! This screen shot is helpful. I'll be working on this ASAP.

roninopf avatar Jun 15 '22 23:06 roninopf

We've detailed a workaround fix in our docs by adding in a header file, for versions 0.68.2 to 0.69.3; versions 0.69.4+ have this issue fixed.

roninopf avatar Sep 06 '22 20:09 roninopf