IOS Development zbarsdk QR Code scan Static library does not support 64bit perfect solution (i)
Since ZBARSDK does not support the ARM64 bit, the following is the way to build a file that supports 64bit. A files by compiling the package yourself.
First download ZBARSDK, unzip the folder after opening the iphone, delete the example folder. Then open Zbar.xcodeproject, set the project compilation environment to the release environment.
Modify Standard achived to ARMv7 arm64, and then build. Note: Select the real machine build first, and you do not need to insert the real machine at this time. Then, in Select Simulator build.
Get two. a files.
One final step:
The. A file obtained under the real machine and the. A files obtained under the simulator are mixed compiled. Get a LIBZBAR.A static library file that can be used by both the real machine and the simulator.
Replace this. A file with the. A file in the zbarsdk you downloaded. You can import the project.
Perfect support for bit!
IOS Development zbarsdk QR Code scan Static library does not support 64bit perfect solution (i)