Skip to content

Fix dynamic-framework header resolution for stable C++ umbrella headers (#58679) - #58679

Draft
coado wants to merge 1 commit into
react:mainfrom
coado:@coado/fix-header-search-paths
Draft

coado wants to merge 1 commit into
react:mainfrom
coado:@coado/fix-header-search-paths

Conversation

@coado

@coado coado commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary:
Fix dynamic-framework header resolution for stable C++ umbrella headers. Header paths are now added only to targets that depend on the owning framework, including transitively, without exposing a framework’s built headers to its own compilation.

Changelog:

[Internal]

Test Plan:

  • Focused CocoaPods tests: 16 tests, 27 assertions, all passing.
  • Dynamic-framework CocoaPods generation: passing.
  • Verified React-RuntimeApple → React-RCTFabric → React-Fabric receives the React-Fabric umbrella path.
  • Verified React-Fabric does not receive its own built-framework path.
  • Verified the dynamic React-Fabric pod target resolves $(PODS_TARGET_SRCROOT)/react/renderer/components/view and $(PODS_TARGET_SRCROOT)/react/renderer/core before the framework exists.
  • ruby --disable-gems -c packages/react-native/ReactCommon/React-Fabric.podspec
  • yarn format-check
  • arc lint xplat/js/react-native-github/packages/react-native/ReactCommon/React-Fabric.podspec
  • Agent validators: arc-format, arc-lint, and arc-lint-testquality passed.

The full CocoaPods Ruby test process could not start on this host because its RubyGems/JSON installation is broken; the existing focused CocoaPods coverage remains unchanged.

Differential Revision: D121777587

Pulled By: coado

@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 25, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Sep 25, 2026
@meta-codesync

meta-codesync Bot commented Sep 25, 2026

Copy link
Copy Markdown

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

coado added a commit to coado/react-native that referenced this pull request Sep 25, 2026
…rs (react#58679)

Summary:
Fix dynamic-framework header resolution for stable C++ umbrella headers. Header paths are now added only to targets that depend on the owning framework, including transitively, without exposing a framework’s built headers to its own compilation.

## Changelog:
[Internal]


Test Plan:
- Focused CocoaPods tests: 16 tests, 27 assertions, all passing.
- Dynamic-framework CocoaPods generation: passing.
- Verified React-RuntimeApple → React-RCTFabric → React-Fabric receives the React-Fabric umbrella path.
- Verified React-Fabric does not receive its own built-framework path.

Differential Revision: D121777587

Pulled By: coado
coado added a commit to coado/react-native that referenced this pull request Sep 25, 2026
…rs (react#58679)

Summary:
Fix dynamic-framework header resolution for stable C++ umbrella headers. Header paths are now added only to targets that depend on the owning framework, including transitively, without exposing a framework’s built headers to its own compilation.

## Changelog:
[Internal]


Test Plan:
- Focused CocoaPods tests: 16 tests, 27 assertions, all passing.
- Dynamic-framework CocoaPods generation: passing.
- Verified React-RuntimeApple → React-RCTFabric → React-Fabric receives the React-Fabric umbrella path.
- Verified React-Fabric does not receive its own built-framework path.

Differential Revision: D121777587

Pulled By: coado
coado added a commit to coado/react-native that referenced this pull request Sep 25, 2026
…rs (react#58679)

Summary:
Fix dynamic-framework header resolution for stable C++ umbrella headers. Header paths are now added only to targets that depend on the owning framework, including transitively, without exposing a framework’s built headers to its own compilation.

## Changelog:
[Internal]


Test Plan:
- Focused CocoaPods tests: 16 tests, 27 assertions, all passing.
- Dynamic-framework CocoaPods generation: passing.
- Verified React-RuntimeApple → React-RCTFabric → React-Fabric receives the React-Fabric umbrella path.
- Verified React-Fabric does not receive its own built-framework path.

Differential Revision: D121777587

Pulled By: coado
coado added a commit to coado/react-native that referenced this pull request Sep 25, 2026
…rs (react#58679)

Summary:
Fix dynamic-framework header resolution for stable C++ umbrella headers. Header paths are now added only to targets that depend on the owning framework, including transitively, without exposing a framework’s built headers to its own compilation.

## Changelog:
[Internal]

Pull Request resolved: react#58679

Test Plan:
- Focused CocoaPods tests: 16 tests, 27 assertions, all passing.
- Dynamic-framework CocoaPods generation: passing.
- Verified React-RuntimeApple → React-RCTFabric → React-Fabric receives the React-Fabric umbrella path.
- Verified React-Fabric does not receive its own built-framework path.

Differential Revision: D121777587

Pulled By: coado
@meta-codesync meta-codesync Bot changed the title Fix dynamic-framework header resolution for stable C++ umbrella headers Fix dynamic-framework header resolution for stable C++ umbrella headers (#58679) Sep 25, 2026
coado added a commit to coado/react-native that referenced this pull request Sep 25, 2026
…rs (react#58679)

Summary:
Fix dynamic-framework header resolution for stable C++ umbrella headers. Header paths are now added only to targets that depend on the owning framework, including transitively, without exposing a framework’s built headers to its own compilation.

## Changelog:
[Internal]


Test Plan:
- Focused CocoaPods tests: 16 tests, 27 assertions, all passing.
- Dynamic-framework CocoaPods generation: passing.
- Verified React-RuntimeApple → React-RCTFabric → React-Fabric receives the React-Fabric umbrella path.
- Verified React-Fabric does not receive its own built-framework path.

Differential Revision: D121777587

Pulled By: coado
@coado
coado force-pushed the @coado/fix-header-search-paths branch from 4a0329d to 8cc2ed5 Compare September 25, 2026 14:01
@meta-codesync

meta-codesync Bot commented Sep 25, 2026

Copy link
Copy Markdown

@coado has exported this pull request. If you are a Meta employee, you can view the originating Diff in D121777587.

coado added a commit to coado/react-native that referenced this pull request Sep 25, 2026
…rs (react#58679)

Summary:
Fix dynamic-framework header resolution for stable C++ umbrella headers. Header paths are now added only to targets that depend on the owning framework, including transitively, without exposing a framework’s built headers to its own compilation.

## Changelog:
[Internal]


Test Plan:
- Focused CocoaPods tests: 16 tests, 27 assertions, all passing.
- Dynamic-framework CocoaPods generation: passing.
- Verified React-RuntimeApple → React-RCTFabric → React-Fabric receives the React-Fabric umbrella path.
- Verified React-Fabric does not receive its own built-framework path.

Differential Revision: D121777587

Pulled By: coado
…rs (react#58679)

Summary:
Fix dynamic-framework header resolution for stable C++ umbrella headers. Header paths are now added only to targets that depend on the owning framework, including transitively, without exposing a framework’s built headers to its own compilation.

## Changelog:
[Internal]


Test Plan:
- Focused CocoaPods tests: 16 tests, 27 assertions, all passing.
- Dynamic-framework CocoaPods generation: passing.
- Verified React-RuntimeApple → React-RCTFabric → React-Fabric receives the React-Fabric umbrella path.
- Verified React-Fabric does not receive its own built-framework path.
- Verified the dynamic React-Fabric pod target resolves `$(PODS_TARGET_SRCROOT)/react/renderer/components/view` and `$(PODS_TARGET_SRCROOT)/react/renderer/core` before the framework exists.
- `ruby --disable-gems -c packages/react-native/ReactCommon/React-Fabric.podspec`
- `yarn format-check`
- `arc lint xplat/js/react-native-github/packages/react-native/ReactCommon/React-Fabric.podspec`
- Agent validators: arc-format, arc-lint, and arc-lint-testquality passed.

The full CocoaPods Ruby test process could not start on this host because its RubyGems/JSON installation is broken; the existing focused CocoaPods coverage remains unchanged.

Differential Revision: D121777587

Pulled By: coado
@coado
coado force-pushed the @coado/fix-header-search-paths branch from 8cc2ed5 to 2f3c6f7 Compare September 25, 2026 15:26
coado added a commit to coado/react-native that referenced this pull request Sep 25, 2026
…rs (react#58679)

Summary:
Fix dynamic-framework header resolution for stable C++ umbrella headers. Header paths are now added only to targets that depend on the owning framework, including transitively, without exposing a framework’s built headers to its own compilation.

## Changelog:
[Internal]


Test Plan:
- Focused CocoaPods tests: 16 tests, 27 assertions, all passing.
- Dynamic-framework CocoaPods generation: passing.
- Verified React-RuntimeApple → React-RCTFabric → React-Fabric receives the React-Fabric umbrella path.
- Verified React-Fabric does not receive its own built-framework path.
- Verified the dynamic React-Fabric pod target resolves `$(PODS_TARGET_SRCROOT)/react/renderer/components/view` and `$(PODS_TARGET_SRCROOT)/react/renderer/core` before the framework exists.
- `ruby --disable-gems -c packages/react-native/ReactCommon/React-Fabric.podspec`
- `yarn format-check`
- `arc lint xplat/js/react-native-github/packages/react-native/ReactCommon/React-Fabric.podspec`
- Agent validators: arc-format, arc-lint, and arc-lint-testquality passed.

The full CocoaPods Ruby test process could not start on this host because its RubyGems/JSON installation is broken; the existing focused CocoaPods coverage remains unchanged.

Differential Revision: D121777587

Pulled By: coado

This branch has not been deployed

No deployments
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