IOS Development zbarsdk QR Code scan Static library does not support 64bit perfect solution (i)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.