Add redbox subspec to React-debug pod#56585
Open
motiz88 wants to merge 1 commit intofacebook:mainfrom
Open
Conversation
da29495 to
8344b0a
Compare
Add a "redbox" subspec to React-debug.podspec with its own header_dir,
following the same pattern React-Fabric uses for its subdirectories.
Without this, static library builds (without USE_FRAMEWORKS) flatten all
headers into the top-level header_dir ("react/debug"), so imports like
`<react/debug/redbox/RedBoxErrorParser.h>` fail because the "redbox/"
subdirectory is lost.
8344b0a to
ebf73ef
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Same fix as #56584 (targeting 0.83-stable), applied to main.
Add a
redboxsubspec toReact-debug.podspecwith its ownheader_dir, following the same patternReact-Fabricuses for its subdirectories.Without this, static library builds (without
USE_FRAMEWORKS) flatten all headers into the top-levelheader_dir(react/debug), so imports like<react/debug/redbox/RedBoxErrorParser.h>fail because theredbox/subdirectory is lost.On main this is currently masked because
test_e2e_ios_templateappuses prebuiltReact.framework, but it would break any from-source static library build that includesReact-CoreModules.Changelog: [Internal]
Test Plan
CI