mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Added missing define to target .reactRuntime (#52082)
Summary: The target needs the HERMES_ENABLE_DEBUGGER flag in debug just like .reactHermes does. This commit fixes this by adding the define to the reactRuntime target. ## Changelog: [IOS] [FIXED] - Added HERMES_ENABLE_DEBUGGER to debug configuration for the reactRuntime target. Pull Request resolved: https://github.com/facebook/react-native/pull/52082 Test Plan: Prebuild React Core Reviewed By: robhogan Differential Revision: D76813200 Pulled By: cipolleschi fbshipit-source-id: cb81a40fb9c5a91ca40c3a27ae4ccdf043186bac
This commit is contained in:
1 parent
87cd1c0a0a
commit
560ac23001
1 file changed
+4
-1
@@ -336,7 +336,10 @@ let reactRuntime = RNTarget(
|
||||
name: .reactRuntime,
|
||||
path: "ReactCommon/react/runtime",
|
||||
excludedPaths: ["tests", "iostests", "platform"],
|
||||
dependencies: [.reactNativeDependencies, .jsi, .reactJsiExecutor, .reactCxxReact, .reactJsErrorHandler, .reactPerformanceTimeline, .reactUtils, .reactFeatureFlags, .reactJsInspector, .reactJsiTooling, .reactHermes, .reactRuntimeScheduler, .hermesPrebuilt]
|
||||
dependencies: [.reactNativeDependencies, .jsi, .reactJsiExecutor, .reactCxxReact, .reactJsErrorHandler, .reactPerformanceTimeline, .reactUtils, .reactFeatureFlags, .reactJsInspector, .reactJsiTooling, .reactHermes, .reactRuntimeScheduler, .hermesPrebuilt],
|
||||
defines: [
|
||||
CXXSetting.define("HERMES_ENABLE_DEBUGGER", to: "1", .when(configuration: BuildConfiguration.debug))
|
||||
]
|
||||
)
|
||||
|
||||
/// React-runtimeApple.podspec
|
||||
|
||||
Reference in new issue
Block a user