Skip to content

Update umbrella subspecs configuration (#58260) - #58260

Closed
j-piasecki wants to merge 2 commits into
react:mainfrom
j-piasecki:export-D118096693
Closed

Update umbrella subspecs configuration (#58260)#58260
j-piasecki wants to merge 2 commits into
react:mainfrom
j-piasecki:export-D118096693

Conversation

@j-piasecki

@j-piasecki j-piasecki commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary:

Changelog: [Internal]

Changes the configuration of the umbrella podspecs to make the umbrella headers discoverable with use_frameworks.

Updates the cocoapods scripts to make sure all public headers are discoverable with use_frameworks.

Reviewed By: cortinico

Differential Revision: D118096693

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 31, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner labels Aug 31, 2026
@meta-codesync

meta-codesync Bot commented Aug 31, 2026

Copy link
Copy Markdown

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D118096693.

@facebook-github-tools facebook-github-tools Bot added the p: Facebook Partner: Facebook label Aug 31, 2026
@meta-codesync meta-codesync Bot changed the title Update umbrella subspecs configuration Update umbrella subspecs configuration (#58260) Aug 31, 2026
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Aug 31, 2026
Summary:

Changelog: [Internal]

Changes the configuration of the umbrella podspecs to make the umbrella headers discoverable with `use_frameworks`.

Updates the cocoapods scripts to make sure all public headers are discoverable with `use_frameworks`.

Differential Revision: D118096693
@j-piasecki
j-piasecki force-pushed the export-D118096693 branch 2 times, most recently from 6ac2e5e to 8106761 Compare August 31, 2026 11:10

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

Summary:

Umbrellas bracketed their includes with a bare `#define`/`#undef` of
`RN_UMBRELLA_CONTEXT`. That does not nest: an umbrella reached from inside
another umbrella's context cleared it on the way out, so every public header
the outer umbrella included afterwards hit `UmbrellaGuard.h`. Switch the
bracket to `#pragma push_macro`/`pop_macro` so the inner umbrella restores the
outer context instead of clearing it.

Nothing nests today, it starts once a
for-frameworks header reaches a public module through its umbrella.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D118114589
Summary:

Changelog: [Internal]

Changes the configuration of the umbrella podspecs to make the umbrella headers discoverable with `use_frameworks`.

Updates the cocoapods scripts to make sure all public headers are discoverable with `use_frameworks`.

Reviewed By: cortinico

Differential Revision: D118096693
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Sep 2, 2026
Summary:

Changelog: [Internal]

Changes the configuration of the umbrella podspecs to make the umbrella headers discoverable with `use_frameworks`.

Updates the cocoapods scripts to make sure all public headers are discoverable with `use_frameworks`.

Reviewed By: cortinico

Differential Revision: D118096693
@j-piasecki
j-piasecki force-pushed the export-D118096693 branch 2 times, most recently from c431e87 to ec48d9a Compare September 2, 2026 08:48
@meta-codesync meta-codesync Bot closed this in 8e1559a Sep 2, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Sep 2, 2026
@meta-codesync

meta-codesync Bot commented Sep 2, 2026

Copy link
Copy Markdown

This pull request has been merged in 8e1559a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants