请教一下初始化错误会是什么原因?
日志如下:
WAKEUP CALLBACK: encount error - Error Domain=38 Code=2490374 "Wakeup: engine initialize failed." UserInfo={NSLocalizedDescription=Wakeup: engine initialize failed., NSHelpAnchor=}.
代码如下:
self.wakeupEventManager?.setDelegate(self);
self.wakeupEventManager?.setParameter("****", forKey: BDS_WAKEUP_APP_CODE);
let mod = Bundle.main.path(forResource: "bds_easr_basic_model", ofType: "dat");
let words = Bundle.main.path(forResource: "cmd", ofType: "bin");
self.wakeupEventManager?.setParameter(words, forKey: BDS_WAKEUP_WORDS_FILE_PATH);
self.wakeupEventManager?.setParameter(mod, forKey: BDS_WAKEUP_DAT_FILE_PATH);
self.wakeupEventManager?.setParameter(nil, forKey:BDS_WAKEUP_AUDIO_FILE_PATH);
self.wakeupEventManager?.setParameter(nil, forKey:BDS_WAKEUP_AUDIO_INPUT_STREAM);
self.wakeupEventManager?.sendCommand(BDS_WP_CMD_LOAD_ENGINE);
self.wakeupEventManager?.sendCommand(BDS_WP_CMD_START);
先测试下DEMO,IOS问题请务必再 DEMO 中复现。
如能复现请提供:
1,所用的SDK和版本
2,日志
3,详细的复现逻辑