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

Differential Revision: D56575647
  • Loading branch information
cipolleschi authored and facebook-github-bot committed Apr 25, 2024
1 parent 3db7ab6 commit c2a7798
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-native/scripts/cocoapods/utils.rb
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 c2a7798

Please sign in to comment.