From 8070f312b2a7918607da4bd6b82bd22f88c6799e Mon Sep 17 00:00:00 2001 From: Christian Bernier Date: Fri, 27 Mar 2026 15:55:03 -0400 Subject: [PATCH] fix(ios): rely on install_modules_dependencies for RN 0.84+ React Native 0.84 removes the standalone RCT-Folly pod when using prebuilt ReactNativeDependencies. Manual pod dependencies duplicated what install_modules_dependencies() already adds and caused CocoaPods to fail with 'Unable to find a specification for RCT-Folly'. Remove the redundant declarations and let install_modules_dependencies configure New Architecture deps for the installed RN version. Made-with: Cursor --- react-native-image-resizer.podspec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/react-native-image-resizer.podspec b/react-native-image-resizer.podspec index 1848ae8..68a4dbb 100644 --- a/react-native-image-resizer.podspec +++ b/react-native-image-resizer.podspec @@ -26,11 +26,9 @@ Pod::Spec.new do |s| "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" + # RCT-Folly and related pods are no longer published separately in React Native 0.84+ + # when using prebuilt ReactNativeDependencies; install_modules_dependencies adds the + # correct third-party and Fabric deps for the active RN version. install_modules_dependencies(s) else s.dependency "React-Core"