IOS Essay--_objc_class_$xxx ", referenced from: and LINKER COMMAND FAILED with EXIT CODE 1 (use-v to see invocation) Problem resolution

Source: Internet
Author: User

Because the project needs to generate two-dimensional code based on the user's information, QR Code SDK mainstream (ZXing) (Zbar), I chose (Zbar), but in the process of adding such a problem:

"_objc_class_$_xx file name", referenced from:

Linker command failed with exit code 1 (use-v to see invocation)

Problem handling:

Cause Analysis:

Build Active Architecture only

This property is set to Yes, in order to debug the compiler faster, it only compiles the current version of architecture, so will be error compiled file, error ("_objc_class_$_zbarreaderviewcontroller", Referenced from:)

When set to No, all versions are compiled, which solves the problem of compilation errors.

This is the device corresponding to the architecture:

Armv6:iphone 2g/3g,ipod 1g/2g

Armv7:iphone 3gs/4/4s,ipod 3g/4g,ipad 1g/2g/3g

Armv7s:iphone5, IPOD5

Arm64:iphone5s

The compiled version is backwards compatible, such as you set this value to Yes, compiled with iphone4 is the ARMV7 version, Iphone5 can also run, but the ARMV6 device cannot run.

The warm hint, release when the time to change to no, to adapt to different equipment.

IOS Essay--_objc_class_$xxx ", referenced from: and LINKER COMMAND FAILED with EXIT CODE 1 (use-v to see invocation) Problem resolution

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.