File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 5
5
#if __has_include(<rnplaidlink/react_native_plaid_link_sdk-Swift.h>)
6
6
#import < rnplaidlink/react_native_plaid_link_sdk-Swift.h>
7
7
#else
8
+ #ifdef USE_FRAMEWORKS
9
+ #import < react_native_plaid_link_sdk/react_native_plaid_link_sdk-Swift.h>
10
+ #else
8
11
#import < react_native_plaid_link_sdk-Swift.h>
9
12
#endif
13
+ #endif
10
14
11
15
// copied from RCTFollyConvert
12
16
folly::dynamic PLKConvertIdToFollyDynamic (id json)
Original file line number Diff line number Diff line change @@ -21,6 +21,13 @@ Pod::Spec.new do |s|
21
21
# we don't want this to be seen by Swift
22
22
s . private_header_files = 'ios/PLKFabricHelpers.h'
23
23
24
+ if ENV [ 'USE_FRAMEWORKS' ] == '1'
25
+ s . pod_target_xcconfig = {
26
+ "OTHER_CFLAGS" => "$(inherited) -DUSE_FRAMEWORKS" ,
27
+ "OTHER_CPLUSPLUSFLAGS" => "$(inherited) -DUSE_FRAMEWORKS" ,
28
+ }
29
+ end
30
+
24
31
if fabric_enabled
25
32
install_modules_dependencies ( s )
26
33
else
You can’t perform that action at this time.
0 commit comments