Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

zbar SDK dont work for armv7s(iPad 4 iOS 7)

Tags:

ios

ios7

zbar-sdk

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.

like image 348
user2393695 Avatar asked Oct 14 '13 13:10

user2393695


3 Answers

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

like image 149
cdescours Avatar answered Nov 03 '22 16:11

cdescours


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/

like image 32
markdotnet Avatar answered Nov 03 '22 15:11

markdotnet


You can download the library compiled for arm7, arm7s and arm64 here (the nerdvision link is dead)

like image 1
Jeremie D Avatar answered Nov 03 '22 15:11

Jeremie D