diff --git a/scripts/react_native_pods.rb b/scripts/react_native_pods.rb index 9a20e147c41e51..9bc989ecce7a8b 100644 --- a/scripts/react_native_pods.rb +++ b/scripts/react_native_pods.rb @@ -110,14 +110,9 @@ def use_react_native! (options={}) if hermes_enabled pod 'React-hermes', :path => "#{prefix}/ReactCommon/hermes" - if ENV['BUILD_HERMES_SOURCE'] == '1' - Pod::UI.puts "[Hermes] Building Hermes from source" - hermes_source_path = downloadAndConfigureHermesSource(prefix) - pod 'hermes-engine', :path => "#{hermes_source_path}/hermes-engine.podspec" - else - Pod::UI.warn "[Hermes] Installing Hermes from CocoaPods. The `hermes-engine` pod has been deprecated and will not see future updates." - pod 'hermes-engine', '~> 0.11.0' - end + Pod::UI.puts "[Hermes] Building Hermes from source" + hermes_source_path = downloadAndConfigureHermesSource(prefix) + pod 'hermes-engine', :path => "#{hermes_source_path}/hermes-engine.podspec" pod 'libevent', '~> 2.1.12' end