Skip to content

Commit d55efe8

Browse files
huntiefacebook-github-bot
authored andcommitted
Fix HERMES_ENABLE_DEBUGGER define for jsinspector-modern under CocoaPods (facebook#46393)
Summary: Pull Request resolved: facebook#46393 > [!Note] > Replaces facebook#46282. We intended to enable Fusebox on `main` since facebook#45469 — this worked when building under Buck, however was not working for builds under Xcode. This is because the `HERMES_ENABLE_DEBUGGER` preprocessor flag was missing for the `React-jsinspector` Podspec. Changelog: [Internal] Reviewed By: robhogan Differential Revision: D62375148 fbshipit-source-id: 5d4d243d0a2cb7796fdf59d57086a0cb966639c7
1 parent f220bde commit d55efe8

File tree

1 file changed

+1
-0
lines changed
  • packages/react-native/scripts/cocoapods

1 file changed

+1
-0
lines changed

packages/react-native/scripts/cocoapods/utils.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def self.has_pod(installer, name)
4343

4444
def self.set_gcc_preprocessor_definition_for_React_hermes(installer)
4545
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "HERMES_ENABLE_DEBUGGER=1", "React-hermes", "Debug")
46+
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "HERMES_ENABLE_DEBUGGER=1", "React-jsinspector", "Debug")
4647
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "HERMES_ENABLE_DEBUGGER=1", "hermes-engine", "Debug")
4748
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "HERMES_ENABLE_DEBUGGER=1", "React-RuntimeHermes", "Debug")
4849
end

0 commit comments

Comments
 (0)