今天给项目打包,编译出如下错误:
ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/user/Desktop/Coojin/Coojin/ZBarSDK/libzbar.a for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
仔细检查了下错误代码,发现主要是对几个第三方类库的不支持(ZBar二维码扫描)。
其中armv7s代表iphone5。
解决方法如下:
如图,通过PROJECT-Build