File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ $RNFirebaseAsStaticFramework = true # toggle this to true (and set 'use_framewor
19
19
# Toggle this to true if you want to include support for on device conversion measurement APIs
20
20
$RNFirebaseAnalyticsGoogleAppMeasurementOnDeviceConversion = true
21
21
22
+ # react-native 0.72 is currently iOS 12.4 as a minimum
23
+ min_ios_version_supported = 12.4
24
+
22
25
# Resolve react_native_pods.rb with node to allow for hoisting
23
26
require Pod ::Executable . execute_command ( 'node' , [ '-p' ,
24
27
'require.resolve(
@@ -93,16 +96,22 @@ target 'testing' do
93
96
94
97
95
98
# Turn off warnings on non-RNFB dependencies - some of them are really really noisy
96
- # Also bumps minimum deploy target to ours (which is >12.4): https://github.com/facebook/react-native/issues/34106
97
99
installer . pods_project . targets . each do |target |
98
100
if !target . name . include? "RNFB"
99
101
target . build_configurations . each do |config |
100
102
config . build_settings [ "GCC_WARN_INHIBIT_ALL_WARNINGS" ] = "YES"
101
- config . build_settings [ 'IPHONEOS_DEPLOYMENT_TARGET' ] = min_ios_version_supported
102
103
end
103
104
end
104
105
end
105
106
107
+ # Bumps minimum deploy target to ours (which is >12.4): https://github.com/facebook/react-native/issues/34106
108
+ installer . pods_project . targets . each do |target |
109
+ target . build_configurations . each do |config |
110
+ config . build_settings [ "GCC_WARN_INHIBIT_ALL_WARNINGS" ] = "YES"
111
+ config . build_settings [ 'IPHONEOS_DEPLOYMENT_TARGET' ] = min_ios_version_supported
112
+ end
113
+ end
114
+
106
115
__apply_Xcode_12_5_M1_post_install_workaround ( installer )
107
116
end
108
117
end
You can’t perform that action at this time.
0 commit comments