Skip to content

Commit

Permalink
Update Podfile for PRODUCTION=1 pod install (#34234)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
leotm authored and facebook-github-bot committed Jul 22, 2022
1 parent 4b51207 commit 77752fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/react_native_pods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def use_react_native! (
path: "../node_modules/react-native",
fabric_enabled: false,
new_arch_enabled: ENV['RCT_NEW_ARCH_ENABLED'] == '1',
production: false,
production: ENV['PRODUCTION'] == '1',
hermes_enabled: true,
flipper_configuration: FlipperConfiguration.disabled,
app_path: '..',
Expand Down

0 comments on commit 77752fc

Please sign in to comment.