@@ -6,7 +6,8 @@ require Pod::Executable.execute_command('node', ['-p',
6
6
)' , __dir__ ] ) . strip
7
7
8
8
platform :ios , min_ios_version_supported
9
-
9
+ prepare_react_native_project!
10
+
10
11
# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
11
12
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
12
13
#
@@ -17,7 +18,7 @@ platform :ios, min_ios_version_supported
17
18
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
18
19
# ```
19
20
flipper_config = ENV [ 'NO_FLIPPER' ] == "1" ? FlipperConfiguration . disabled : FlipperConfiguration . enabled
20
-
21
+
21
22
linkage = ENV [ 'USE_FRAMEWORKS' ]
22
23
if linkage != nil
23
24
Pod ::UI . puts "Configuring Pod with #{ linkage } ally linked Frameworks" . green
27
28
target 'reactnative' do
28
29
config = use_native_modules!
29
30
30
- # Flags change depending on the env values.
31
- flags = get_default_flags ( )
32
-
33
31
use_react_native! (
34
32
:path => config [ :reactNativePath ] ,
35
- # Hermes is now enabled by default. Disable by setting this flag to false.
36
- :hermes_enabled => flags [ :hermes_enabled ] ,
37
- :fabric_enabled => flags [ :fabric_enabled ] ,
38
33
# Enables Flipper.
39
34
#
40
35
# Note that if you have use_frameworks! enabled, Flipper will not work and
@@ -56,6 +51,5 @@ target 'reactnative' do
56
51
config [ :reactNativePath ] ,
57
52
:mac_catalyst_enabled => false
58
53
)
59
- __apply_Xcode_12_5_M1_post_install_workaround ( installer )
60
54
end
61
55
end
0 commit comments