Skip to content

Commit

Permalink
Update ios pod post_install logic for detecting if hermes is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel committed Nov 1, 2023
1 parent 0f8a83e commit ddc1275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/scripts/react_native_pods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def react_native_post_install(
ReactNativePodsUtils.apply_mac_catalyst_patches(installer) if mac_catalyst_enabled

fabric_enabled = ENV['RCT_FABRIC_ENABLED'] == '1'
hermes_enabled = ReactNativePodsUtils.has_pod(installer, "React-hermes")
hermes_enabled = ENV['USE_HERMES'] == '1'

if hermes_enabled
ReactNativePodsUtils.set_gcc_preprocessor_definition_for_React_hermes(installer)
Expand Down

0 comments on commit ddc1275

Please sign in to comment.