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