diff --git a/sdks/hermes-engine/hermes-engine.podspec b/sdks/hermes-engine/hermes-engine.podspec index c78269f2a75a4e..810d8ab2a91267 100644 --- a/sdks/hermes-engine/hermes-engine.podspec +++ b/sdks/hermes-engine/hermes-engine.podspec @@ -46,7 +46,9 @@ elsif File.exists?(hermestag_file) && isInCI source[:git] = git source[:tag] = hermestag else - source[:http] = "https://github.com/facebook/react-native/releases/download/v#{version}/hermes-runtime-darwin-#{build_type.to_s}-v#{version}.tar.gz" + # Sample url from Maven: + # https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/0.71.0/react-native-artifacts-0.71.0-hermes-ios-debug.tar.gz + source[:http] = "https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/#{version}/react-native-artifacts-#{version}-hermes-ios-#{build_type.to_s}.tar.gz" end Pod::Spec.new do |spec| diff --git a/sdks/hermes-engine/hermes-utils.rb b/sdks/hermes-engine/hermes-utils.rb index f16c06231c42fb..08424960110533 100644 --- a/sdks/hermes-engine/hermes-utils.rb +++ b/sdks/hermes-engine/hermes-utils.rb @@ -15,7 +15,6 @@ # - version: the version of React Native that requires the Hermes tarball # Returns: the path to the downloaded Hermes tarball def download_nightly_hermes(react_native_path, version) - # TODO: convert hermes-ios to hermes-ios-debug params = "r=snapshots\&g=com.facebook.react\&a=react-native-artifacts\&c=hermes-ios-debug\&e=tar.gz\&v=#{version}-SNAPSHOT" tarball_url = "http://oss.sonatype.org/service/local/artifact/maven/redirect\?#{params}"