Skip to content

Commit

Permalink
Merge pull request #88 from yousif-bugsnag/fix/new-arch-podspec-depen…
Browse files Browse the repository at this point in the history
…dencies

fix(ios): use `install_modules_dependencies` in podspec file
  • Loading branch information
alpha0010 authored Sep 24, 2024
2 parents 80770d5 + 3a57645 commit 14d565c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions ReactNativeFileAccess.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ Pod::Spec.new do |s|

# 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"
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"
install_modules_dependencies(s)
end
end

0 comments on commit 14d565c

Please sign in to comment.