Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update react-native-pdf.podspec
Browse files Browse the repository at this point in the history
WoLewicki authored Jan 17, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent bcaff69 commit 2f0ca39
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
@@ -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}'

0 comments on commit 2f0ca39

Please sign in to comment.