Skip to content

Commit 14d565c

Browse files
authored
Merge pull request #88 from yousif-bugsnag/fix/new-arch-podspec-dependencies
fix(ios): use `install_modules_dependencies` in podspec file
2 parents 80770d5 + 3a57645 commit 14d565c

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

ReactNativeFileAccess.podspec

+1-11
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@ Pod::Spec.new do |s|
2828

2929
# Don't install the dependencies when we run `pod install` in the old architecture.
3030
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
31-
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
32-
s.pod_target_xcconfig = {
33-
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
34-
"OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
35-
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
36-
}
37-
s.dependency "React-Codegen"
38-
s.dependency "RCT-Folly"
39-
s.dependency "RCTRequired"
40-
s.dependency "RCTTypeSafety"
41-
s.dependency "ReactCommon/turbomodule/core"
31+
install_modules_dependencies(s)
4232
end
4333
end

0 commit comments

Comments
 (0)