Sunday, December 4, 2022
HomeiOS DevelopmentAllow hermes engine for ios: React native on Mac M1

Allow hermes engine for ios: React native on Mac M1


After enabling hermes engine in podfile throws error whereas constructing app

"Undefined symbols for structure x86_64: "vtable for fb::react::HermesExecutorFactory"

Hermes model : 0.9.0

RN : 0.66.1

podfile

 platform :ios, '11.0'
 goal 'OneSignalNotificationServiceExtension' do
 pod 'react-native-onesignal', :path => '../node_modules/react-native-onesignal'
finish

goal '****' do
# Pods for ****
config = use_native_modules!
use_react_native!(path: config['reactNativePath'])

use_react_native!(
:path => config[:reactNativePath],
# to allow hermes on iOS, change `false` to `true` after which set up pods
:hermes_enabled => true

)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments