I replace zBar SDK in my project and faced with the problem.
ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Volumes/ZBarSDK/ZBarSDK/libzbar.a file '/Volumes/ZBarSDK/ZBarSDK/libzbar.a' for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I downloaded SDK from http://nerdvision.net/app-development/ios/zbar-sdk
P.S. In simulator it work.
You can use a custom version of ZbarSdk built for iOS 7, which can be found here : http://nerdvision.net/app-development/ios/zbar-sdk
I didn't have any luck with the NerdVision version, but using this one worked for me immediately.
http://www.federicocappelli.net/2012/10/05/zbar-library-for-iphone-5-armv7s/
You can download the library compiled for arm7, arm7s and arm64 here (the nerdvision link is dead)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With