我正在開發一個使用HTML5和PhoneGap的多平臺應用程序,並且我的應用程序應該包含語音識別。 Android版本完美運行,但我無法在iPhone上獲得語音識別工作。PhoneGap +語音識別SDK
我寫了一個運行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)
我還發現,這是可以使用谷歌瀏覽器的API,但它需要一個FLAC音頻文件,它是iOS不支持。
任何人都可以在iOS上使用Nuance SDK或FLAC幫助我嗎?任何幫助將是有用的!
非常感謝。
嘗試在真實設備上進行測試和/或從有效體系結構中刪除i386。 – jcesarmobile
我已經嘗試過了,而且我沒有在有效的體系結構上使用i386 ... –