Skip to content

Commit

Permalink
fix: podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
dojolew committed Nov 19, 2024
1 parent 224a5f5 commit d517c31
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions dojo-react-native-pay-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,9 @@ Pod::Spec.new do |s|
s.dependency 'dojo-ios-sdk', '1.4.2'

# Don't install the dependencies when we run `pod install` in the old architecture.
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1" + " -fmodules -fcxx-modules" # Enable C++ compiler for modules
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-Codegen"
s.dependency "RCT-Folly"
s.dependency "RCTRequired"
s.dependency "RCTTypeSafety"
s.dependency "ReactCommon/turbomodule/core"
if ENV['RCT_NEW_ARCH_ENABLED'] == "1" then
install_modules_dependencies(s)
else
s.dependency "React-Core"
end
end

0 comments on commit d517c31

Please sign in to comment.