ZBar with iOS7 and XCode5 compiling error libzbar.a architecture

ahmet2106 picture ahmet2106 · Jan 15, 2014 · Viewed 8.4k times · Source

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!

Answer

Jeremie D picture Jeremie D · May 1, 2014

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