Skip to content

Commit 7fd54e7

Browse files
Fix "fnv1a.h" not found when using the new architecture (#165)
1 parent 36dc854 commit 7fd54e7

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

react-native-progress-view.podspec

Lines changed: 4 additions & 8 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,16 +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'
5146
ss.dependency 'react-native-progress-view/common'
52-
ss.source_files = 'ios/Fabric/**/*.{h,m,mm}'
5347
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)
5450
end
5551
else
5652
s.dependency 'React-Core'

0 commit comments

Comments
 (0)