From 3a576456b19161f53b2d3c3ee92c7d8890fbb329 Mon Sep 17 00:00:00 2001 From: Yousif Ahmed Date: Fri, 23 Aug 2024 13:45:12 +0100 Subject: [PATCH] fix(ios): use `install_modules_dependencies` in podspec file --- ReactNativeFileAccess.podspec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ReactNativeFileAccess.podspec b/ReactNativeFileAccess.podspec index bc53ec3..b842e7b 100644 --- a/ReactNativeFileAccess.podspec +++ b/ReactNativeFileAccess.podspec @@ -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