Skip to content

Commit

Permalink
Update react-native-pdf.podspec (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
WoLewicki authored Feb 15, 2024
1 parent bcaff69 commit 4a9d44e
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions react-native-pdf.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
Expand Down

0 comments on commit 4a9d44e

Please sign in to comment.