We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c16eb23 commit e55211cCopy full SHA for e55211c
1 file changed
packages/react-native/scripts/react_native_pods.rb
@@ -84,6 +84,11 @@ def use_react_native! (
84
# This is needed as part of our migration away from cocoapods
85
ENV['RCT_SKIP_CODEGEN'] = ENV['RCT_SKIP_CODEGEN'] == '1' || ENV['RCT_IGNORE_PODS_DEPRECATION'] == '1' ? '1' : '0'
86
87
+ # Use the React Native precompiled binaries by default.
88
+ # Users can still turn them off and build from source by setting the environment variable to 0.
89
+ ENV['RCT_USE_RN_DEP'] = ENV['RCT_USE_RN_DEP'] == '0' ? '0' : '1'
90
+ ENV['RCT_USE_PREBUILT_RNCORE'] = ENV['RCT_USE_PREBUILT_RNCORE'] == '0' ? '0' : '1'
91
+
92
ReactNativePodsUtils.check_minimum_required_xcode()
93
94
# Current target definition is provided by Cocoapods and it refers to the target
0 commit comments