From 6d497722b89170952d18a8d208e967ef375504da Mon Sep 17 00:00:00 2001 From: Gabriel Donadel Date: Wed, 1 Nov 2023 15:38:26 -0300 Subject: [PATCH] Fix ios pod post_install logic for detecting if fabric is enabled --- packages/react-native/scripts/react_native_pods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/scripts/react_native_pods.rb b/packages/react-native/scripts/react_native_pods.rb index 4a37aefad7d67b..96e878eaa0b452 100644 --- a/packages/react-native/scripts/react_native_pods.rb +++ b/packages/react-native/scripts/react_native_pods.rb @@ -236,7 +236,7 @@ def react_native_post_install( ReactNativePodsUtils.apply_mac_catalyst_patches(installer) if mac_catalyst_enabled - fabric_enabled = ReactNativePodsUtils.has_pod(installer, 'React-Fabric') + fabric_enabled = ENV['RCT_FABRIC_ENABLED'] == '1' hermes_enabled = ReactNativePodsUtils.has_pod(installer, "React-hermes") if hermes_enabled