diff --git a/ios/RNIterableAPI/RNIterableAPI.mm b/ios/RNIterableAPI/RNIterableAPI.mm index 91955f797..b87b633a1 100644 --- a/ios/RNIterableAPI/RNIterableAPI.mm +++ b/ios/RNIterableAPI/RNIterableAPI.mm @@ -17,7 +17,11 @@ typedef NS_ENUM(NSInteger, InAppShowResponse) { skip = 1, }; -#import "Iterable_React_Native_SDK-Swift.h" +#if __has_include() + #import +#else + #import "Iterable_React_Native_SDK-Swift.h" +#endif @interface RNIterableAPI () @end