Undefined symbols for architecture i386: Compilation error caused by adding a third-party class library

Source: Internet
Author: User

Refresh the class library from the drop-down menuEgorefreshtableheaderviewAdd the resource file to the project, but forget to assume that the quartzcore. Framework framework causes compilation errors:

Undefined symbols for architecture i386:

"_ Catransform3dmakerotation", referenced from:

-[Egorefreshtableheaderview setstate:] In EGORefreshTableHeaderView-6F75314CE1079327.o

"_ Objc_class _ $ _ calayer", referenced from:

Objc-class-ref in EGORefreshTableHeaderView-6F75314CE1079327.o

"_ Objc_class _ $ _ catransaction", referenced from:

Objc-class-ref in EGORefreshTableHeaderView-6F75314CE1079327.o

"_ Catransform3didentity", referenced from:

-[Egorefreshtableheaderview setstate:] In EGORefreshTableHeaderView-6F75314CE1079327.o

"_ Kcagravityresizeaspect", referenced from:

-[Egorefreshtableheaderview initwithframe: arrowimagename: textcolor:] In EGORefreshTableHeaderView-6F75314CE1079327.o

"_ Kcatransactiondisableactions", referenced from:

-[Egorefreshtableheaderview setstate:] In EGORefreshTableHeaderView-6F75314CE1079327.o

Ld: symbol (s) not found for architecture i386

Clang: Error: Linker command failed with exit code 1 (use-V to see Invocation)

Solution: targets --> build phases --> link binary with libraries --> quartzcore. Framework


When adding other class libraries, this error may also occur because no framework is added or the libraries on which they depend.

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.