Skip to content

Commit

Permalink
Fix enable hermes debugger in Bridgeless mode
Browse files Browse the repository at this point in the history
Summary:
Set the proper build flags for debugging in Bridgeless mode.

This fixes [facebook#44240](facebook#44240)

## Changelog:
[iOS][Fixed] - Add `HERMES_ENABLE_DEBUGGER=1` flag to React-RuntimeApple

Reviewed By: cortinico

Differential Revision: D56575647

fbshipit-source-id: a0613a5d46caeb1d3e636e54ecd43428fbaf46e8
  • Loading branch information
cipolleschi authored and kosmydel committed Jun 11, 2024
1 parent 7609bd9 commit 3518ef7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-native/scripts/cocoapods/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def self.has_pod(installer, name)
def self.set_gcc_preprocessor_definition_for_React_hermes(installer)
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "HERMES_ENABLE_DEBUGGER=1", "React-hermes", "Debug")
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "HERMES_ENABLE_DEBUGGER=1", "hermes-engine", "Debug")
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "HERMES_ENABLE_DEBUGGER=1", "React-RuntimeHermes", "Debug")
end

def self.turn_off_resource_bundle_react_core(installer)
Expand Down

0 comments on commit 3518ef7

Please sign in to comment.