File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed
Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -34,27 +34,7 @@ Pod::Spec.new do |s|
3434
3535 # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
3636 # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
37- if respond_to? ( :install_modules_dependencies , true )
38- install_modules_dependencies ( s )
39- else
40- s . dependency "React-callinvoker"
41- s . dependency "React"
42- s . dependency "React-Core"
43-
44- # Don't install the dependencies when we run `pod install` in the old architecture.
45- if ENV [ 'RCT_NEW_ARCH_ENABLED' ] == '1' then
46- s . compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
47- s . pod_target_xcconfig = {
48- "HEADER_SEARCH_PATHS" => "\" $(PODS_ROOT)/boost\" " ,
49- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1" ,
50- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
51- }
52- s . dependency "RCT-Folly"
53- s . dependency "RCTRequired"
54- s . dependency "RCTTypeSafety"
55- s . dependency "ReactCommon/turbomodule/core"
56- end
57- end
37+ install_modules_dependencies ( s )
5838
5939 optimizedCflags = '$(inherited) -DSQLITE_DQS=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1 -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_OMIT_DEPRECATED=1 -DSQLITE_OMIT_PROGRESS_CALLBACK=1 -DSQLITE_OMIT_SHARED_CACHE=1 -DSQLITE_USE_ALLOCA=1'
6040
You can’t perform that action at this time.
0 commit comments