在podfile中启用hermes引擎后,在构建应用程序时抛出错误
"Undefined symbols for architecture x86_64: "vtable for facebook::react::HermesExecutorFactory"
Hermes版本: 0.9.0
RN : 0.66.1
podfile
platform :ios, '11.0'
target 'OneSignalNotificationServiceExtension' do
pod 'react-native-onesignal', :path => '../node_modules/react-native-onesignal'
end
target '****' do
# Pods for ****
config = use_native_modules!
use_react_native!(path: config['reactNativePath'])
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => true)
错误

https://stackoverflow.com/questions/73934204
复制相似问题