Skip to content

Commit

Permalink
fix: default template on iOS (#30571)
Browse files Browse the repository at this point in the history
Summary:
Recently introduced steps to run Hermes accidentally removed `!` from the `use_react_native`, causing `pod install` to fail with an error.

## Changelog

[INTERNAL] [iOS] - Fix Podfle in default template

Pull Request resolved: #30571

Test Plan: Run `pod install` with this file and it should work.

Reviewed By: appden

Differential Revision: D25537263

Pulled By: TheSavior

fbshipit-source-id: da7f21775cbe641e34aded87a92c696539f4d5c3
  • Loading branch information
grabbou committed Dec 15, 2020
1 parent 52129b2 commit 2ba3ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ platform :ios, '10.0'
target 'HelloWorld' do
config = use_native_modules!

use_react_native(
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
Expand Down

0 comments on commit 2ba3ef5

Please sign in to comment.