@@ -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+
79# use_frameworks!
810
911# # Convert all permission pods into static libraries
@@ -30,8 +32,10 @@ target 'RNPermissionsExample' do
3032 use_react_native! (
3133 :path => config [ :reactNativePath ] ,
3234 # to enable hermes on iOS, change `false` to `true` and then install pods
35+ :production => production ,
3336 :hermes_enabled => flags [ :hermes_enabled ] ,
3437 :fabric_enabled => flags [ :fabric_enabled ] ,
38+ :flipper_configuration => FlipperConfiguration . enabled ,
3539 # An absolute path to your application root.
3640 :app_path => "#{ Pod ::Config . instance . installation_root } /.."
3741 )
@@ -58,12 +62,6 @@ target 'RNPermissionsExample' do
5862 pod 'Permission-SpeechRecognition' , :path => "#{ permissions_path } /SpeechRecognition"
5963 pod 'Permission-StoreKit' , :path => "#{ permissions_path } /StoreKit"
6064
61- # Enables Flipper.
62- #
63- # Note that if you have use_frameworks! enabled, Flipper will not work and
64- # you should disable the next line.
65- # use_flipper!()
66-
6765 post_install do |installer |
6866 react_native_post_install ( installer )
6967 __apply_Xcode_12_5_M1_post_install_workaround ( installer )
0 commit comments