我使用的是Xcode 6.4,我有一个带有SpeechKit框架的IOS 8.4应用程序。它可以在iPad 2、iPad Retina、iPhone 4S和iPhone 5模拟器上成功运行。但是对于其他模拟器( iPad Air、iPhone 5S、iPhone 6 6Plus、iPhone 6、Resizable iPad、Resizable iPhone),我在编译时遇到了以下错误:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_SKEarcon"
"_OBJC_CLASS_$_SKRecognizer"
"_OBJC_CLASS_$_SKVocalizer"
"_OBJC_CLASS_$_SpeechKit"
"_SKSearchRecognizerType"所以有谁知道如何解决这个问题吗?
此外,我还添加了许多SpeechKit可能依赖的框架:
SpeechKit.framework
AudioToolBox.framework
SystemConfiguration.framework
QuartzCore.framework
Foundation.framework
UIKit.framework
CoreGraphics.framework
AVFoundation.framework
Security.framework
CFNetwork.framework发布于 2015-09-02 18:01:22
原来是因为我没有使用SpeechKit的最新版本。只需使用最新的一个,他们现在支持64位架构。
https://stackoverflow.com/questions/32320548
复制相似问题