@@ -4,6 +4,8 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ
4
4
platform :ios , '12.4'
5
5
install! 'cocoapods' , :deterministic_uuids => false
6
6
7
+ production = ENV [ "PRODUCTION" ] == "1"
8
+
7
9
# use_frameworks!
8
10
9
11
# # Convert all permission pods into static libraries
@@ -30,8 +32,10 @@ target 'RNPermissionsExample' do
30
32
use_react_native! (
31
33
:path => config [ :reactNativePath ] ,
32
34
# to enable hermes on iOS, change `false` to `true` and then install pods
35
+ :production => production ,
33
36
:hermes_enabled => flags [ :hermes_enabled ] ,
34
37
:fabric_enabled => flags [ :fabric_enabled ] ,
38
+ :flipper_configuration => FlipperConfiguration . enabled ,
35
39
# An absolute path to your application root.
36
40
:app_path => "#{ Pod ::Config . instance . installation_root } /.."
37
41
)
@@ -58,12 +62,6 @@ target 'RNPermissionsExample' do
58
62
pod 'Permission-SpeechRecognition' , :path => "#{ permissions_path } /SpeechRecognition"
59
63
pod 'Permission-StoreKit' , :path => "#{ permissions_path } /StoreKit"
60
64
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
-
67
65
post_install do |installer |
68
66
react_native_post_install ( installer )
69
67
__apply_Xcode_12_5_M1_post_install_workaround ( installer )
0 commit comments