From 82fabbc2b59c07488cc2ab4cada16c8dc23457ab Mon Sep 17 00:00:00 2001 From: Brandon Stalnaker Date: Tue, 5 Nov 2024 14:20:25 -0500 Subject: [PATCH] fix: Fix Swift File Support --- ios/RNMParticle/RNMParticle.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ios/RNMParticle/RNMParticle.m b/ios/RNMParticle/RNMParticle.m index d90f2cc..e042c3d 100644 --- a/ios/RNMParticle/RNMParticle.m +++ b/ios/RNMParticle/RNMParticle.m @@ -6,6 +6,13 @@ #else #import "mParticle.h" #endif +#if defined(__has_include) && __has_include() + #import +#elif defined(__has_include) && __has_include() + #import +#else + #import "mParticle_Apple_SDK-Swift.h" +#endif #import @interface MParticleUser ()