I followed every step on adding a SpeechKit framework to my app, but I cannot get it to work. After building an app, i get the following error:
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)
I added SpeechKit framework from Project-Build Phases-Link Binary With Libraries And I have included all the necessary frameworks that are needed in order for it to work:
- Foundation
- System Configuration
- Audio Toolbox
- CFNetwork
- AVFoundation
- Security
Valid architectures, in my bBuild Settings are armv7m armv7s arc64
You need to define the key in your sources
You need to get the key before using the library.
See the documentation for more details.