Skip to content

Commit 59e828a

Browse files
committed
Enable new arch in Podfile
1 parent b0a0151 commit 59e828a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/init-macos-test-app.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,11 @@ async function patchPodfile() {
140140
"require_relative '../node_modules/react-native-macos/scripts/react_native_pods'\nrequire_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'",
141141
"require_relative '../node_modules/react-native-macos/scripts/cocoapods/autolinking'",
142142
],
143-
[":hermes_enabled => false,", ":hermes_enabled => true,"],
143+
[
144+
":hermes_enabled => false,",
145+
// Adding the new_arch_enabled here as it's not a part of the template
146+
":hermes_enabled => true,\n :new_arch_enabled => true,",
147+
],
144148
[
145149
":fabric_enabled => ENV['RCT_NEW_ARCH_ENABLED'] == '1',",
146150
":fabric_enabled => true,",

0 commit comments

Comments
 (0)