From 11bf8c9ce5ad62180a896dcb7eb26276ad63c34f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Fri, 6 Nov 2020 00:42:48 +0100 Subject: [PATCH] [template] Update hermes instruction (#648) --- .../generator-macos/templates/macos/Podfile | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/local-cli/generator-macos/templates/macos/Podfile b/local-cli/generator-macos/templates/macos/Podfile index 22a1bed363aaa5..44ba1589fed528 100644 --- a/local-cli/generator-macos/templates/macos/Podfile +++ b/local-cli/generator-macos/templates/macos/Podfile @@ -4,17 +4,15 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ target 'HelloWorld-macOS' do platform :macos, '10.13' use_native_modules! - use_react_native!(:path => '../node_modules/react-native-macos') - - # Enables Hermes - # - # Be sure to first install the `hermes-engine-darwin` npm package, e.g.: - # - # $ yarn add 'hermes-engine-darwin@~0.5.0' - # - # pod 'React-Core/Hermes', :path => '../node_modules/react-native-macos/' - # pod 'hermes', :path => '../node_modules/hermes-engine-darwin' - # pod 'libevent', :podspec => '../node_modules/react-native-macos/third-party-podspecs/libevent.podspec' + use_react_native!( + :path => '../node_modules/react-native-macos', + + # To use Hermes, install the `hermes-engine-darwin` npm package, e.g.: + # $ yarn add 'hermes-engine-darwin@~0.5.3' + # + # Then enable this option: + # :hermes_enabled => true + ) # Pods specifically for macOS target end