[template] Update hermes instruction (#648)

This commit is contained in:
Eloy Durán 2020-11-06 00:42:48 +01:00 коммит произвёл GitHub
Родитель d33a6068c3
Коммит 11bf8c9ce5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 9 добавлений и 11 удалений

Просмотреть файл

@ -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