Skip to content

[RN][iOS] Remove the legacy arch by default#54894

Closed
cipolleschi wants to merge 2 commits into
mainfrom
cipolleschi/remove-legacy-arch-by-default
Closed

[RN][iOS] Remove the legacy arch by default#54894
cipolleschi wants to merge 2 commits into
mainfrom
cipolleschi/remove-legacy-arch-by-default

Conversation

@cipolleschi

@cipolleschi cipolleschi commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

Summary:

This change remove the legacy arch by default from React Native iOS.

Users can still put the code back by using RCT_REMOVE_LEGACY_ARCH=0 bundle exec pod install

Changelog:

[iOS][Breaking] - Remove legacy arch by default

Test Plan:

Tested with RNTester that the app build correctly.
Also verified that the artifacts produced by the prebuilds are smaller than the one built before the change.

@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
@cipolleschi cipolleschi marked this pull request as ready for review December 16, 2025 11:03
@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 D89276102.

@cipolleschi cipolleschi force-pushed the cipolleschi/remove-legacy-arch-by-default branch 9 times, most recently from 8595581 to c3de3ef Compare December 17, 2025 12:59
@cipolleschi cipolleschi force-pushed the cipolleschi/remove-legacy-arch-by-default branch from 5069423 to 186aab3 Compare December 17, 2025 16:54
@cipolleschi cipolleschi force-pushed the cipolleschi/remove-legacy-arch-by-default branch from 186aab3 to 2de95cd Compare December 17, 2025 17:10
@meta-codesync meta-codesync Bot closed this in c7f433a Dec 17, 2025
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cipolleschi in c7f433a

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

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

meta-codesync Bot commented Dec 17, 2025

Copy link
Copy Markdown

@cipolleschi merged this pull request in c7f433a.

gabrieldonadel added a commit to expo/expo that referenced this pull request Dec 30, 2025
# Why

In preparation for react-native 0.84, where `RCT_REMOVE_LEGACY_ARCH`
will be enabled by default
(react/react-native#54894), for nightlies to
work, we should remove all references to the old architecture.

# How

Remove EXDevLauncherRCTCxxBridge from dev-launcher

# Test Plan

Run BareExpo on iOS

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [ ] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
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