clang: error: linker command failed with exit c...

今天使用ZBarSDK真机调试的时候遇到了这个bug。

ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /.../QR code/QR code/ZBarSDK/libzbar.a for architecture armv7s

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

search 了一下,http://stackoverflow.com/questions/12402092/file-is-universal-three-slices-but-it-does-not-contain-an-armv7-s-slice-err很给力。一下字解决了我的问题。


你可能感兴趣的:(ios,真机调试)