XCode 4.5 armv7s 和 OpenCV Framework 冲突

如果出现如下error

file is universal (2 slices) but does not contain a(n) armv7s /users/.../... for architecture armv7s

clang: error: linker command failed with exit code 1 (use -v to see invocation)

一个解决办法就是到 build settings里把valid architectures里的armv7s删掉

这样app也可以在iOS 6,iphone5上运行,只是没有针对armv7s优化而已

posted @ 2012-09-20 19:36  Russell Jing  阅读(364)  评论(0编辑  收藏  举报