Moh*_*oel 5 performance ios react-native react-native-hermes apple-m1
在 podfile 中启用 Hermes 引擎后,在构建应用程序时会抛出错误
"Undefined symbols for architecture x86_64: "vtable for facebook::react::HermesExecutorFactory"
爱马仕版本:0.9.0
RN:0.66.1
pod 文件
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
Run Code Online (Sandbox Code Playgroud)
)
归档时间: |
|
查看次数: |
2853 次 |
最近记录: |