Skip to content

Commit 45cbbfa

Browse files
feat: add RCT_IGNORE_PODS_DEPRECATION env variable to pod install (#2601)
1 parent ce0a4aa commit 45cbbfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/cli-config-apple/src/tools/installPods.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ async function runPodInstall(loader: Ora, options?: RunPodInstallOptions) {
3434
await execa('bundle', ['exec', 'pod', 'install'], {
3535
env: {
3636
RCT_NEW_ARCH_ENABLED: options?.newArchEnabled ? '1' : '0',
37+
RCT_IGNORE_PODS_DEPRECATION: '1', // From React Native 0.79 onwards, users shouldn't install CocoaPods manually.
3738
},
3839
});
3940
} catch (error) {

0 commit comments

Comments
 (0)