File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,26 +17,5 @@ Pod::Spec.new do |s|
1717 s . source_files = "ios/**/*.{h,m,mm,cpp}"
1818 s . private_header_files = "ios/generated/**/*.h"
1919
20- # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
21- # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
22- if respond_to? ( :install_modules_dependencies , true )
23- install_modules_dependencies ( s )
24- else
25- s . dependency "React-Core"
26-
27- # Don't install the dependencies when we run `pod install` in the old architecture.
28- if ENV [ 'RCT_NEW_ARCH_ENABLED' ] == '1' then
29- s . compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
30- s . pod_target_xcconfig = {
31- "HEADER_SEARCH_PATHS" => "\" $(PODS_ROOT)/boost\" " ,
32- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1" ,
33- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
34- }
35- s . dependency "React-Codegen"
36- s . dependency "RCT-Folly"
37- s . dependency "RCTRequired"
38- s . dependency "RCTTypeSafety"
39- s . dependency "ReactCommon/turbomodule/core"
40- end
41- end
20+ install_modules_dependencies ( s )
4221end
You can’t perform that action at this time.
0 commit comments