Skip to content

Commit

Permalink
#185 - update podspec to fix ios app build with RN 0.76
Browse files Browse the repository at this point in the history
  • Loading branch information
YuliaGrigorieva committed Dec 18, 2024
1 parent 2656677 commit 2bd352b
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions react-native-voximplant.podspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
fabric_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'

Pod::Spec.new do |s|
s.name = 'react-native-voximplant'
Expand All @@ -13,20 +12,8 @@ Pod::Spec.new do |s|
s.version = '1.42.0'
s.dependency 'VoxImplantSDK', '2.53.0'
if fabric_enabled
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
s.pod_target_xcconfig = {
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
"OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
}

s.dependency 'React-RCTFabric'
s.dependency 'React-Codegen'
s.dependency 'RCT-Folly'
s.dependency 'RCTRequired'
s.dependency 'RCTTypeSafety'
s.dependency 'ReactCommon/turbomodule/core'
install_modules_dependencies(s)
else
s.dependency 'React'
s.dependency 'React'
end
end

0 comments on commit 2bd352b

Please sign in to comment.