(null): File is universal (3 slices) but does not contain a(n) armv7s slice: /Users/robin/Documents/Project/ZBarApp/ZBarApp/ZBarSDK/libzbar.a file ‘/Users/robin/Documents/Project/ZBarApp/ZBarApp/ZBarSDK/libzbar.a‘ for architecture armv7s
解决 libzbar.a‘ for architecture armv7s 的问题
下载最新的zbar源码
http://sourceforge.net/p/zbar/code/ci/default/tree/
hg clone http://zbar.hg.sourceforge.net:8000/hgroot/zbar/zbar cd zbar hg checkout iPhoneSDK-1.2.2 open iphone/zbar.xcodeproj
需下载:http://jasonfharris.com/machg/
下载完成后:
打开工程,更改scheme的设置
现在使用xcode命令:
lipo -create Release-iphoneos/libzbar.a Release-iphonesimulator/libzbar.a -o libzbar.a
在替换文件就ok啦!!
ZBarSDK支持armv7s,布布扣,bubuko.com
原文:http://blog.csdn.net/lin1986lin/article/details/25710163