在iPhone上编译时出错,而不是iPhone模拟器

时间:2012-12-06 03:05:47

标签: iphone objective-c compiler-errors linker-errors mach-o

这是错误消息:

ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/Michael/Desktop/Phattie/phattie/SpeechKit.framework/SpeechKit for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

是的,这是一个可怕的Mach-O Linker错误。我受不了他们。我的应用程序的早期版本在我的iPhone上工作,我只是好奇发生了什么,感谢任何帮助!

  • 迈克尔

1 个答案:

答案 0 :(得分:3)

您正在使用armv7s架构构建应用程序,但SpeechKit不包含此类架构。从您的应用程序使用的体系结构列表中获取包含armv7s或已删除armv7s的框架的更新版本。