@@ -45,11 +45,15 @@ def self.has_pod(installer, name)
45
45
46
46
def self . set_gcc_preprocessor_definition_for_React_hermes ( installer )
47
47
self . add_build_settings_to_pod ( installer , "GCC_PREPROCESSOR_DEFINITIONS" , "HERMES_ENABLE_DEBUGGER=1" , "React-hermes" , :debug )
48
- self . add_build_settings_to_pod ( installer , "GCC_PREPROCESSOR_DEFINITIONS" , "HERMES_ENABLE_DEBUGGER=1" , "React-jsinspector" , :debug )
49
48
self . add_build_settings_to_pod ( installer , "GCC_PREPROCESSOR_DEFINITIONS" , "HERMES_ENABLE_DEBUGGER=1" , "hermes-engine" , :debug )
50
49
self . add_build_settings_to_pod ( installer , "GCC_PREPROCESSOR_DEFINITIONS" , "HERMES_ENABLE_DEBUGGER=1" , "React-RuntimeHermes" , :debug )
51
50
end
52
51
52
+ def self . set_gcc_preprocessor_definition_for_debugger ( installer )
53
+ self . add_build_settings_to_pod ( installer , "GCC_PREPROCESSOR_DEFINITIONS" , "REACT_NATIVE_DEBUGGER_ENABLED=1" , "React-jsinspector" , :debug )
54
+ self . add_build_settings_to_pod ( installer , "GCC_PREPROCESSOR_DEFINITIONS" , "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1" , "React-jsinspector" , :debug )
55
+ end
56
+
53
57
def self . turn_off_resource_bundle_react_core ( installer )
54
58
# this is needed for Xcode 14, see more details here https://github.com/facebook/react-native/issues/34673
55
59
# we should be able to remove this once CocoaPods catches up to it, see more details here https://github.com/CocoaPods/CocoaPods/issues/11402
0 commit comments