Ios 架构i386的未定义符号:“;SpeechKitApplicationKey“;

Ios 架构i386的未定义符号:“;SpeechKitApplicationKey“;,ios,objective-c,frameworks,speech-recognition,Ios,Objective C,Frameworks,Speech Recognition,我按照每一步向我的应用程序添加SpeechKit框架,但我无法让它工作。 构建应用程序后,我遇到以下错误: Undefined symbols for architecture i386: "_SpeechKitApplicationKey", referenced from: l069 in SpeechKit(libSpeechKit.a-i386-master.o) ld: symbol(s) not found for architecture i386 clang: error:

我按照每一步向我的应用程序添加SpeechKit框架,但我无法让它工作。 构建应用程序后,我遇到以下错误:

Undefined symbols for architecture i386:
"_SpeechKitApplicationKey", referenced from:
  l069 in SpeechKit(libSpeechKit.a-i386-master.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see    invocation)
我从项目构建阶段添加了SpeechKit框架,并将二进制文件链接到库中 我还包括了it工作所需的所有必要框架:

  • 基础
  • 系统配置
  • 音频工具箱
  • CFNetwork
  • AVF基金会
  • 保安

  • 有效的体系结构,在我的bBuild设置中是armv7m armv7s arc64

    您需要在源代码中定义密钥

     const unsigned char[] SpeechKitApplicationKey = {0x12, 0x34, ..., 0x89};
    
    在使用库之前,您需要获得密钥


    有关详细信息,请参阅。

    能否粘贴m和h文件的标题?有时const值倾向于返回确切的哪个文件?@EmilDoI已将SpeechKitApplicationKey添加到我的项目中,但我仍然收到相同的错误。请帮我解决这个问题。