Skip to content

[RN][iOS] Use precompipled binaries by default#54895

Closed
cipolleschi wants to merge 1 commit into
mainfrom
cipolleschi/use-prebuilds-by-default
Closed

[RN][iOS] Use precompipled binaries by default#54895
cipolleschi wants to merge 1 commit into
mainfrom
cipolleschi/use-prebuilds-by-default

Conversation

@cipolleschi

Copy link
Copy Markdown
Contributor

Summary:

This change set up React native to use the precompiled binaries by default.
Users can still turn them off by passing RCT_USE_PREBUILT_RNCORE=0 bundle exec pod install

By default, RNTester will still build from source.

Changelog:

[iOS][Changed] - Use prebuild by default

Test Plan:

Tested on a React native app created using RN 0.83.0

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

meta-codesync Bot commented Dec 16, 2025

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot closed this in df9d31b Dec 17, 2025
@meta-codesync

meta-codesync Bot commented Dec 17, 2025

Copy link
Copy Markdown

@cipolleschi merged this pull request in df9d31b.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Dec 17, 2025
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cipolleschi in df9d31b

When will my fix make it into a release? | How to file a pick request?

kmichalikk added a commit to software-mansion/react-native-screens that referenced this pull request Jan 20, 2026
## Description

This PR overrides the new default for downloading prebuild binaries for
RN core since 0.84. We need the source code for debugging in our Example
app.

Relevant commit from RN:
react/react-native#54895

## Changes

Env vars: RCT_USE_PREBUILT_RNCORE is set to '0' in the Podfile.

From READMEs and comments:

> ## - RCT_USE_PREBUILT_RNCORE: If set to 1, it will use the release
tarball from Maven instead of building from source.

## Test plan

Make sure FabricExample builds & the source code is available in XCode.

## Checklist

n/a
- [x] Ensured that CI passes
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: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants