From 7ecbbd8a1a32bf8ecf007e66adcbb96f8b9d4305 Mon Sep 17 00:00:00 2001 From: Steven Conaway Date: Mon, 23 Nov 2020 10:40:41 -0800 Subject: [PATCH 1/3] Add instructions to template/ios/Podfile for enabling hermes --- template/ios/Podfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/ios/Podfile b/template/ios/Podfile index 04f68e5431fb93..1bc3290ac0b2f0 100644 --- a/template/ios/Podfile +++ b/template/ios/Podfile @@ -7,6 +7,8 @@ target 'HelloWorld' do config = use_native_modules! use_react_native!(:path => config[:reactNativePath]) + # Or, to enable hermes on iOS, comment out the above line and uncomment the below: + # use_react_native!(:path => config[:reactNativePath], :hermes_enabled => true) target 'HelloWorldTests' do inherit! :complete From b838d56d55efb78e3809a2667fed5ff94a528c3f Mon Sep 17 00:00:00 2001 From: Steven Conaway Date: Mon, 23 Nov 2020 11:12:05 -0800 Subject: [PATCH 2/3] Clean it up --- template/ios/Podfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/template/ios/Podfile b/template/ios/Podfile index 1bc3290ac0b2f0..065f535421603a 100644 --- a/template/ios/Podfile +++ b/template/ios/Podfile @@ -6,9 +6,11 @@ platform :ios, '10.0' target 'HelloWorld' do config = use_native_modules! - use_react_native!(:path => config[:reactNativePath]) - # Or, to enable hermes on iOS, comment out the above line and uncomment the below: - # use_react_native!(:path => config[:reactNativePath], :hermes_enabled => true) + use_react_native( + :path => config[:reactNativePath], + # Or, to enable hermes on iOS, uncomment the below line: + # :hermes_enabled => true + ) target 'HelloWorldTests' do inherit! :complete From 612b3c3af591ed83890f3c3e02861742949b1cbb Mon Sep 17 00:00:00 2001 From: Steven Conaway Date: Mon, 23 Nov 2020 15:44:37 -0800 Subject: [PATCH 3/3] Update Podfile --- template/ios/Podfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/ios/Podfile b/template/ios/Podfile index 065f535421603a..70ecb72908061a 100644 --- a/template/ios/Podfile +++ b/template/ios/Podfile @@ -8,8 +8,8 @@ target 'HelloWorld' do use_react_native( :path => config[:reactNativePath], - # Or, to enable hermes on iOS, uncomment the below line: - # :hermes_enabled => true + # to enable hermes on iOS, change `false` to `true` and then install pods + :hermes_enabled => false ) target 'HelloWorldTests' do