From 4872e285d77e547845fc2d4fa62f1c1ba0cdb10d Mon Sep 17 00:00:00 2001 From: Huckleberry Date: Tue, 23 Jul 2024 16:01:50 +0900 Subject: [PATCH] fix: ios build issue when using use_frameworks! static --- ios/Ting.mm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ios/Ting.mm b/ios/Ting.mm index 2ae7778..e46bc2a 100644 --- a/ios/Ting.mm +++ b/ios/Ting.mm @@ -1,6 +1,11 @@ #import "Ting.h" -#import +#if __has_include("ting-Swift.h") + #import +#else + // When using use_frameworks! :linkage => :static in Podfile + #import +#endif @implementation Ting