Skip to content

chore: support RCT_USE_RN_DEP and RCT_USE_PREBUILT_RNCORE flags #2695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packages/cli-config-apple/src/tools/installPods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ async function runPodInstall(loader: Ora, options: RunPodInstallOptions) {
env: {
RCT_NEW_ARCH_ENABLED: options?.newArchEnabled ? '1' : '0',
RCT_IGNORE_PODS_DEPRECATION: '1', // From React Native 0.79 onwards, users shouldn't install CocoaPods manually.
...(process.env.USE_THIRD_PARTY_JSC && {
USE_THIRD_PARTY_JSC: process.env.USE_THIRD_PARTY_JSC,
}), // This is used to install the third party JSC.
...(process.env.RCT_USE_RN_DEP && {
RCT_USE_RN_DEP: process.env.RCT_USE_RN_DEP,
}), // prebuilt RN dep available from 0.80 onwards
...(process.env.RCT_USE_PREBUILT_RNCORE && {
RCT_USE_PREBUILT_RNCORE: process.env.RCT_USE_PREBUILT_RNCORE,
}), // whole RN core prebuilt from 0.81 onwards
},
});
} catch (error) {
Expand Down
Loading