Skip to content

Commit bf19a9a

Browse files
authored
Merge pull request #32 from jeongshin/main
fix: ios build issue when using use_frameworks! static
2 parents 84d787f + 4872e28 commit bf19a9a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ios/Ting.mm

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#import "Ting.h"
22

3-
#import <ting-Swift.h>
3+
#if __has_include("ting-Swift.h")
4+
#import <ting-Swift.h>
5+
#else
6+
// When using use_frameworks! :linkage => :static in Podfile
7+
#import <Ting/Ting-Swift.h>
8+
#endif
49

510
@implementation Ting
611

0 commit comments

Comments
 (0)