Skip to content

Commit b012528

Browse files
add "install_modules_dependencies" function
1 parent 8d1ee13 commit b012528

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

react-native-progress-view.podspec

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Pod::Spec.new do |s|
1919
s.ios.exclude_files= 'ios/Fabric'
2020
s.osx.source_files = 'macos/**/*.{h,m}'
2121

22+
install_modules_dependencies(s)
23+
2224
if fabric_enabled
2325
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
2426

@@ -41,17 +43,10 @@ Pod::Spec.new do |s|
4143
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17'
4244
}
4345

44-
s.dependency 'RCT-Folly'
45-
s.dependency 'RCTRequired'
46-
s.dependency 'RCTTypeSafety'
47-
s.dependency 'ReactCommon/turbomodule/core'
48-
ss.dependency 'React-Codegen'
49-
ss.dependency 'React-RCTFabric'
50-
ss.dependency 'React-Core'
51-
ss.dependency 'React-utils'
5246
ss.dependency 'react-native-progress-view/common'
53-
ss.source_files = 'ios/Fabric/**/*.{h,m,mm}'
5447
ss.pod_target_xcconfig = { 'HEADER_SEARCH_PATHS' => '\'$(PODS_TARGET_SRCROOT)/common/cpp\'' }
48+
ss.source_files = 'ios/Fabric/**/*.{h,m,mm}'
49+
install_modules_dependencies(ss)
5550
end
5651
else
5752
s.dependency 'React-Core'

0 commit comments

Comments
 (0)