Skip to content

Commit 77752fc

Browse files
leotmfacebook-github-bot
authored andcommitted
Update Podfile for PRODUCTION=1 pod install (#34234)
Summary: ### Mentioned - pr[main]: #33882 - discussion: reactwg/react-native-releases#21 (reply in thread) - pr[0.69-stable]: #34098 Close: #33764 Saw the issue ago couple wks too: leotm/react-native-template-new-architecture#757 Fixed similarly: leotm/react-native-template-new-architecture#791 ## Changelog [iOS] [Changed] - Update Podfile to allow `PRODUCTION=1 pod install` [CATEGORY] [TYPE] - Message Pull Request resolved: #34234 Test Plan: Everything builds and runs as expected Reviewed By: cortinico Differential Revision: D38029117 Pulled By: cipolleschi fbshipit-source-id: bdb58200a999cb66f1043a2feb670f9037c8e463
1 parent 4b51207 commit 77752fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/react_native_pods.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def use_react_native! (
3737
path: "../node_modules/react-native",
3838
fabric_enabled: false,
3939
new_arch_enabled: ENV['RCT_NEW_ARCH_ENABLED'] == '1',
40-
production: false,
40+
production: ENV['PRODUCTION'] == '1',
4141
hermes_enabled: true,
4242
flipper_configuration: FlipperConfiguration.disabled,
4343
app_path: '..',

0 commit comments

Comments
 (0)