Skip to content

Commit f2451a8

Browse files
committed
docs: include RN dependencies flag for iOS source builds
1 parent a6a9e8b commit f2451a8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

website/blog/2026-02-11-react-native-0.84.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Force the installation of the legacy `hermes-compiler` package in your `package.
6161

6262
**iOS**
6363

64-
When installing CocoaPods dependencies, pass the `RCT_HERMES_V1_ENABLED=0` and `RCT_USE_PREBUILT_RNCORE=0` environment variables.
64+
When installing CocoaPods dependencies, pass the `RCT_HERMES_V1_ENABLED=0`, `RCT_USE_PREBUILT_RNCORE=0`, and `RCT_USE_RN_DEP=0` environment variables.
6565

6666
**Android**
6767

@@ -76,7 +76,7 @@ React Native 0.84 now ships precompiled binaries on iOS by default. Previously i
7676
This means you no longer need to compile React Native core from source every time you do a clean build. The precompiled `.xcframework` binaries are automatically downloaded and used during `pod install`.
7777

7878
:::info
79-
If you need to build React Native from source (for example, to opt out of Hermes V1), you can disable precompiled binaries by setting `RCT_USE_PREBUILT_RNCORE=0` when installing pods.
79+
If you need to build React Native from source (for example, to opt out of Hermes V1), you can disable precompiled binaries by setting `RCT_USE_PREBUILT_RNCORE=0` and `RCT_USE_RN_DEP=0` when installing pods.
8080
:::
8181

8282
## Legacy Architecture Components Removed
@@ -95,7 +95,7 @@ No breakages are expected for apps already on the New Architecture — the Inter
9595
If you need to re-enable Legacy Architecture code in your iOS builds, you'll need to build from source. Install CocoaPods dependencies with the following flags:
9696

9797
```bash
98-
RCT_USE_PREBUILT_RNCORE=0 RCT_REMOVE_LEGACY_ARCH=0 bundle exec pod install
98+
RCT_USE_PREBUILT_RNCORE=0 RCT_USE_RN_DEP=0 RCT_REMOVE_LEGACY_ARCH=0 bundle exec pod install
9999
```
100100

101101
</details>

0 commit comments

Comments
 (0)