我正在使用 HTML5 和 PhoneGap 开发一个多平台应用程序,我的应用程序应该包括语音识别。Android 版本完美运行,但我无法在 iPhone 上进行语音识别工作。
我写了一个运行 Objective-C 代码的 PhoneGap 插件,我想使用 Nuance Dragon SDK 进行语音识别。问题是我有很多问题:
Undefined symbols for architecture i386:
"_SecCertificateCopyData", referenced from:
l792 in SpeechKit(libSpeechKit.a-i386-master.o)
"_SecCertificateCopySubjectSummary", referenced from:
l791 in SpeechKit(libSpeechKit.a-i386-master.o)
"_SecItemAdd", referenced from:
l800 in SpeechKit(libSpeechKit.a-i386-master.o)
"_SecItemCopyMatching", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
l799 in SpeechKit(libSpeechKit.a-i386-master.o)
l800 in SpeechKit(libSpeechKit.a-i386-master.o)
"_SecItemDelete", referenced from:
l797 in SpeechKit(libSpeechKit.a-i386-master.o)
"_SecItemUpdate", referenced from:
l800 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecAttrAccessGroup", referenced from:
l800 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecAttrAccount", referenced from:
l797 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecAttrDescription", referenced from:
l797 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecAttrGeneric", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecAttrLabel", referenced from:
l797 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecClass", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
l798 in SpeechKit(libSpeechKit.a-i386-master.o)
l799 in SpeechKit(libSpeechKit.a-i386-master.o)
l800 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecClassGenericPassword", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
l798 in SpeechKit(libSpeechKit.a-i386-master.o)
l799 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecMatchLimit", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecMatchLimitOne", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecReturnAttributes", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecReturnData", referenced from:
l799 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecValueData", referenced from:
l784 in SpeechKit(libSpeechKit.a-i386-master.o)
l797 in SpeechKit(libSpeechKit.a-i386-master.o)
l798 in SpeechKit(libSpeechKit.a-i386-master.o)
l799 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)
我还发现可以使用 Google Chrome API,但它需要一个 FLAC 音频文件,并且 iOS 不支持它。
任何人都可以在 iOS 上帮助我使用 Nuance SDK 或 FLAC 吗?任何帮助都会很有用!
非常感谢。