Skip to content

[ios][precompile] change to angled include in umbrella#54840

Closed
chrfalch wants to merge 4 commits into
mainfrom
chrfalch/react-precompile-change-to-angled-include-in-umbrella
Closed

[ios][precompile] change to angled include in umbrella#54840
chrfalch wants to merge 4 commits into
mainfrom
chrfalch/react-precompile-change-to-angled-include-in-umbrella

Conversation

@chrfalch

@chrfalch chrfalch commented Dec 10, 2025

Copy link
Copy Markdown
Collaborator

Summary:

To make the later VFS overlays work, our React umbrella header needs to use angled import syntax instead of quoted".

This is so that the compiler will look up by module and not only by path.

Prev PR: #54839
Next PR: #54841

Changelog:

[IOS] [FIXED] - changed umbrella header template to use angled import syntax

Test Plan:

Run RNTester with prebuilds

@chrfalch chrfalch requested a review from cipolleschi December 10, 2025 14:15
@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 Dec 10, 2025
@facebook-github-bot facebook-github-bot added p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Dec 10, 2025
@github-actions

Copy link
Copy Markdown

Job Summary for Gradle

Test All :: run_fantom_tests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
react-native-github :private:react-native-fantom:buildFantomTester 9.0.0 Build Scan not published

@cipolleschi cipolleschi changed the base branch from main to chrfalch/react-precompile-move-header-template-to-separate-folder December 16, 2025 15:27
@cipolleschi cipolleschi changed the base branch from chrfalch/react-precompile-move-header-template-to-separate-folder to main December 17, 2025 15:23
A small cleanup to make the directory structure of the header file template when building xcframeworks.

Umbrella and module map templates are now moved into templates folder.
@chrfalch chrfalch force-pushed the chrfalch/react-precompile-change-to-angled-include-in-umbrella branch 2 times, most recently from fb5975f to a91c7bb Compare January 5, 2026 13:28
To make the later VFS overlays work, our React umbrella header needs to use angled import syntax instead of quoted".

This is so that the compiler will look up by module and not only by path.
@chrfalch chrfalch force-pushed the chrfalch/react-precompile-change-to-angled-include-in-umbrella branch from a91c7bb to 0b0199e Compare January 5, 2026 13:38
@chrfalch chrfalch changed the base branch from main to chrfalch/react-precompile-move-header-template-to-separate-folder January 5, 2026 13:38
@chrfalch chrfalch changed the base branch from chrfalch/react-precompile-move-header-template-to-separate-folder to main January 5, 2026 13:40
@meta-codesync

meta-codesync Bot commented Jan 14, 2026

Copy link
Copy Markdown

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this in D89377015.

@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.

meta-codesync Bot pushed a commit that referenced this pull request Jan 14, 2026
Summary:
A small cleanup to make the directory structure of the header file template when building xcframeworks.

Umbrella and module map templates are now moved into a templates folder in the scripts/iOS-prebuilt folder

Prev PR: #54838
Next PR: #54840

## Changelog:
[INTERNAL] [FIXED] - Moved iOS prebuild scripts to templates folder.

Pull Request resolved: #54839

Test Plan: Run RNTester with prebuilds

Reviewed By: cortinico

Differential Revision: D89376964

Pulled By: cipolleschi

fbshipit-source-id: d3c5cdb1dda8c30df563b57533b40efbf29ff67e
@meta-codesync meta-codesync Bot closed this in 2b66a9a Jan 14, 2026
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 14, 2026
@meta-codesync

meta-codesync Bot commented Jan 14, 2026

Copy link
Copy Markdown

@cipolleschi merged this pull request in 2b66a9a.

meta-codesync Bot pushed a commit that referenced this pull request Jan 27, 2026
Summary:
Replace the regex-based approach for parsing podspec files with a declarative configuration system for header file collection:

Add headers-config.js with explicit podspec configurations defining header patterns, directories, and subspecs

- Add vfs.js to generate VFS overlay YAML files for Clang virtual file system support
- Refactor headers.js to use the new configuration-based approach with support for nested subspecs and path preservation
- Update xcframework.js to handle the new header mapping structure with source/target paths
- This provides more reliable and maintainable header file collection for XCFramework builds by avoiding fragile regex parsing of Ruby podspec files.

Prev PR: #54840
Next PR: #54842

bypass-github-export-checks

## Changelog:

[IOS] [FIXED] - refactored header files generator for prebuilt React framework

Pull Request resolved: #54841

Test Plan: Run RNTester with prebuilt

Reviewed By: cortinico

Differential Revision: D90674355

Pulled By: cipolleschi

fbshipit-source-id: 66ec997a8731b6bf91a8f3c2ab42a94e7b0601e8
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. p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants