Skip to content

Correctly link umbrella headers for iOS prebuild (#58548) - #58548

Open
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D120310677
Open

j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D120310677

Conversation

@j-piasecki

@j-piasecki j-piasecki commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Summary:

The umbrella headers under ReactCommon/**/React/ were only linked into their nested ReactCommon/... include dirs during the iOS SPM prebuild, so #include <React/Debug.h> (and the other umbrella headers) could not be resolved by the React framework, breaking the build.

This diff links each umbrella header directory into the React header dir.

Changelog: [Internal]

Differential Revision: D120310677

@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 Sep 16, 2026
@meta-codesync

meta-codesync Bot commented Sep 16, 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 D120310677.

@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner labels Sep 16, 2026
@facebook-github-tools facebook-github-tools Bot added the p: Facebook Partner: Facebook label Sep 16, 2026
@meta-codesync meta-codesync Bot changed the title Correctly link umbrella headers for iOS prebuild Correctly link umbrella headers for iOS prebuild (#58548) Sep 16, 2026
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Sep 16, 2026
Summary:

The umbrella headers under `ReactCommon/**/React/` were only linked into their nested `ReactCommon/...` include dirs during the iOS SPM prebuild, so `#include <React/Debug.h>` (and the other umbrella headers) could not be resolved by the `React` framework, breaking the build.

This diff links each umbrella header directory into the `React` header dir.

Changelog: [Internal]

Differential Revision: D120310677
Summary:

The umbrella headers under `ReactCommon/**/React/` were only linked into their nested `ReactCommon/...` include dirs during the iOS SPM prebuild, so `#include <React/Debug.h>` (and the other umbrella headers) could not be resolved by the `React` framework, breaking the build.

This diff links each umbrella header directory into the `React` header dir.

Changelog: [Internal]

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

The umbrella headers under `ReactCommon/**/React/` were only linked into their nested `ReactCommon/...` include dirs during the iOS SPM prebuild, so `#include <React/Debug.h>` (and the other umbrella headers) could not be resolved by the `React` framework, breaking the build.

This diff links each umbrella header directory into the `React` header dir.

Changelog: [Internal]

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

The umbrella headers under `ReactCommon/**/React/` were only linked into their nested `ReactCommon/...` include dirs during the iOS SPM prebuild, so `#include <React/Debug.h>` (and the other umbrella headers) could not be resolved by the `React` framework, breaking the build.

This diff links each umbrella header directory into the `React` header dir.

Changelog: [Internal]

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

The umbrella headers under `ReactCommon/**/React/` were only linked into their nested `ReactCommon/...` include dirs during the iOS SPM prebuild, so `#include <React/Debug.h>` (and the other umbrella headers) could not be resolved by the `React` framework, breaking the build.

This diff links each umbrella header directory into the `React` header dir.

Changelog: [Internal]

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

The umbrella headers under `ReactCommon/**/React/` were only linked into their nested `ReactCommon/...` include dirs during the iOS SPM prebuild, so `#include <React/Debug.h>` (and the other umbrella headers) could not be resolved by the `React` framework, breaking the build.

This diff links each umbrella header directory into the `React` header dir.

Changelog: [Internal]

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

The umbrella headers under `ReactCommon/**/React/` were only linked into their nested `ReactCommon/...` include dirs during the iOS SPM prebuild, so `#include <React/Debug.h>` (and the other umbrella headers) could not be resolved by the `React` framework, breaking the build.

This diff links each umbrella header directory into the `React` header dir.

Changelog: [Internal]

Differential Revision: D120310677
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. 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.

1 participant