Skip to content

Commit 0f98a0e

Browse files
committed
Patch react_native_post_install to pass react native path
1 parent d589923 commit 0f98a0e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/init-macos-test-app.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ async function patchPodfile() {
8888
":fabric_enabled => ENV['RCT_NEW_ARCH_ENABLED'] == '1',",
8989
":fabric_enabled => true,",
9090
],
91+
[
92+
"react_native_post_install(installer)",
93+
"react_native_post_install(installer, '../node_modules/react-native-macos')",
94+
],
9195
];
9296

9397
const podfilePath = path.join(APP_PATH, "macos", "Podfile");

0 commit comments

Comments
 (0)