Reputation: 4247
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:
Valid architectures, in my bBuild Settings are armv7m armv7s arc64
Upvotes: 1
Views: 239
Reputation: 25220
You need to define the key in your sources
const unsigned char[] SpeechKitApplicationKey = {0x12, 0x34, ..., 0x89};
You need to get the key before using the library.
See the documentation for more details.
Upvotes: 2