From 2f0ca39cff8035c367e39d5da90faa2a3f625de3 Mon Sep 17 00:00:00 2001 From: Wojciech Lewicki Date: Wed, 17 Jan 2024 16:36:24 +0100 Subject: [PATCH] Update react-native-pdf.podspec --- react-native-pdf.podspec | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/react-native-pdf.podspec b/react-native-pdf.podspec index fb361401..329d4904 100644 --- a/react-native-pdf.podspec +++ b/react-native-pdf.podspec @@ -17,24 +17,11 @@ Pod::Spec.new do |s| s.framework = "PDFKit" if fabric_enabled - folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' - - s.pod_target_xcconfig = { - 'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/boost" "$(PODS_ROOT)/boost-for-react-native" "$(PODS_ROOT)/RCT-Folly"', - "CLANG_CXX_LANGUAGE_STANDARD" => "c++17", - } s.platforms = { ios: '11.0', tvos: '11.0' } - s.compiler_flags = folly_compiler_flags + ' -DRCT_NEW_ARCH_ENABLED' s.source_files = 'ios/**/*.{h,m,mm,cpp}' s.requires_arc = true + install_modules_dependencies(s) - s.dependency "React" - s.dependency "React-RCTFabric" - s.dependency "React-Codegen" - s.dependency "RCT-Folly" - s.dependency "RCTRequired" - s.dependency "RCTTypeSafety" - s.dependency "ReactCommon/turbomodule/core" else s.platform = :ios, '8.0' s.source_files = 'ios/**/*.{h,m,mm}'