Skip to content

Commit

Permalink
[template] Update hermes instruction (facebook#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Nov 5, 2020
1 parent d33a606 commit 11bf8c9
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions local-cli/generator-macos/templates/macos/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11bf8c9

Please sign in to comment.