Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ZBar with iOS7 and XCode5 compiling error libzbar.a architecture

just got some errors runnign ZBar with my iOS App.

I included the newest Beta Version 1.3.1 in my Project and am Running the App locally on my iOS7 Device (iPhone 5).

When trying to archive it for Distribution, there is the error with arm64.

I've tried to recompile the source to generate my own libzbar.a (which was generated) with selected arm64 armv7 and armv7s, but even here the error was the same..

So what should I do?

archive error

Thnaks for help!

like image 361
ahmet2106 Avatar asked Jan 15 '14 14:01

ahmet2106


2 Answers

You can download the zbar library compiled for arm7, arm7s and arm64 here

EDIT: I am still getting upvotes on this answer, the real current answer is that now the AV Foundation framework includes barcode scanning as of iOS 7. I would recommend using this over ZBar from here on out. Useful tutorial using AV Foundation to scan with sample code and supported types list or here

like image 179
Jeremie D Avatar answered Nov 10 '22 10:11

Jeremie D


above answers don't really help

follow this guide:

http://www.federicocappelli.net/2012/10/05/zbar-library-for-iphone-5-armv7s/

But before building change the Architectures to include arm64

like image 4
Wolf Avatar answered Nov 10 '22 09:11

Wolf