找不到这些宏
来源:15-7 Flutter Plugin开发指南-iOS端实现-1【打通Flutter与iOS的任通二脉】
AKIRA晓
2023-11-17
Showing All Issues
Undefined symbol: _BDS_ASR_API_SECRET_KEYS
Undefined symbol: _BDS_ASR_AUDIO_FILE_PATH
Undefined symbol: _BDS_ASR_AUDIO_INPUT_STREAM
Undefined symbol: _BDS_ASR_CMD_CANCEL
Undefined symbol: _BDS_ASR_CMD_START
Undefined symbol: _BDS_ASR_CMD_STOP
Undefined symbol: _BDS_ASR_DEBUG_LOG_LEVEL
Undefined symbol: _BDS_ASR_ENABLE_MODEL_VAD
Undefined symbol: _BDS_ASR_ENABLE_NLU
Undefined symbol: _BDS_ASR_MODEL_VAD_DAT_FILE
Undefined symbol: _BDS_ASR_NAME
Undefined symbol: _BDS_ASR_NEED_CACHE_AUDIO
Undefined symbol: _BDS_ASR_OFFLINE_APP_CODE
Undefined symbol: _BDS_ASR_PRODUCT_ID
Undefined symbol: OBJC_CLASS$_BDSEventManager
Linker command failed with exit code 1 (use -v to see invocation)
导入头文件也导入了 最后run的时候 提示找不到这些
#import “BDSEventManager.h”
#import “BDSASRParameters.h”
#import “BDSASRDefines.h” 这三个头文件已经导入
1回答
-
CrazyCodeBoy
2023-11-20
按照百度语音的最新文档集成下试试
https://ai.baidu.com/sdk#asr00
相似问题