Skip to content

feat: support prebuilt React Native#696

Merged
thymikee merged 5 commits into
callstackincubator:mainfrom
whydidoo:feat/copy-prebuild-xcframeworks
May 12, 2026
Merged

feat: support prebuilt React Native#696
thymikee merged 5 commits into
callstackincubator:mainfrom
whydidoo:feat/copy-prebuild-xcframeworks

Conversation

@whydidoo
Copy link
Copy Markdown
Contributor

@whydidoo whydidoo commented Apr 4, 2026

Summary
Add support for copying prebuilt React Native XCFrameworks in iOS brownfield packaging.

Motivation
Recent React Native versions can ship prebuilt iOS frameworks through CocoaPods.
The packaging flow should include these artifacts when available to stay compatible with the new RN distribution model.

Changes

Enable prebuilts by default in brownfield scenarios:

  • by default enabled for for RN >= 0.84
  • by default disabled for RN < 0.84, only possible to be turned on by the user (usePrebuiltRNCore) for RN >= 0.81 (first version of RN to ship opt-in support for Apple prebuilts)

Added copy logic for:

  • Pods/React-Core-prebuilt/React.xcframework
  • Pods/ReactNativeDependencies/framework/packages/react-native/ReactNativeDependencies.xcframework

Pass-through for verbose logging in packageIosAction in plugin-brownfield-ios

Kept behavior conditional:

  • copy only existing frameworks
  • no-op when frameworks are missing

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 4, 2026

@whydidoo is attempting to deploy a commit to the Callstack Team on Vercel.

A member of the Team first needs to authorize it.

@thymikee thymikee requested a review from artus9033 April 10, 2026 09:29
@whydidoo
Copy link
Copy Markdown
Contributor Author

whydidoo commented May 6, 2026

Any updates? @thymikee @artus9033

@artus9033
Copy link
Copy Markdown
Contributor

Hi @whydidoo , I'm sorry for the late response. I'm busy tomorrow, but I will review on Friday.

@artus9033 artus9033 changed the title feat: add copyReactXcframeworks function feat: support prebuilt RN in brownfield & standalone May 11, 2026
@artus9033 artus9033 changed the title feat: support prebuilt RN in brownfield & standalone feat: support prebuilt React Native May 11, 2026
Copy link
Copy Markdown
Contributor

@artus9033 artus9033 left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution @whydidoo ! I made some adjustments for react-native-brownfield. Let's ship this!

Copy link
Copy Markdown
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

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

Thank you @whydidoo!

@thymikee thymikee merged commit 006231c into callstackincubator:main May 12, 2026
3 of 5 checks passed
thymikee pushed a commit that referenced this pull request May 12, 2026
* feat: add copyReactXcframeworks function and integrate it into packageIosAction

* feat!: enable prebuilts in brownfield scenarios

* chore: pass log verbose option in packageIosAction

* chore: add changeset

---------

Co-authored-by: artus9033 <artus9033@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants