@@ -4,6 +4,8 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ
44platform :ios , '12.4'
55install! 'cocoapods' , :deterministic_uuids => false
66
7+ production = ENV [ "PRODUCTION" ] == "1"
8+
79target 'ReactNativeStarterApp' do
810 config = use_native_modules!
911
@@ -13,8 +15,10 @@ target 'ReactNativeStarterApp' do
1315 use_react_native! (
1416 :path => config [ :reactNativePath ] ,
1517 # to enable hermes on iOS, change `false` to `true` and then install pods
18+ :production => production ,
1619 :hermes_enabled => flags [ :hermes_enabled ] ,
1720 :fabric_enabled => flags [ :fabric_enabled ] ,
21+ :flipper_configuration => FlipperConfiguration . enabled ,
1822 # An absolute path to your application root.
1923 :app_path => "#{ Pod ::Config . instance . installation_root } /.."
2024 )
@@ -27,12 +31,6 @@ target 'ReactNativeStarterApp' do
2731 # Pods for testing
2832 end
2933
30- # Enables Flipper.
31- #
32- # Note that if you have use_frameworks! enabled, Flipper will not work and
33- # you should disable the next line.
34- use_flipper! ( )
35-
3634 post_install do |installer |
3735 react_native_post_install ( installer )
3836 __apply_Xcode_12_5_M1_post_install_workaround ( installer )
0 commit comments