iOS Development Notes

Source: Internet
Author: User

Common errors:

E001: Undefined Symbols for Architecture i386

Error Description:

Undefined Symbols for Architecture i386: ' _objc_class_$_xxx ', referenced from:objc-class-ref in Xxxld:symbol (s) not found For Architecture I386clang:error:linker command failed with exit code 1 (use-v to see invocation)

The cause of this error is generally "XXX" This file (class library) Although the introduction of the project, but for various reasons (common in multi-person development, SVN synchronization is not standardized) caused "xxx" is not added to project.pbxproj this file.

S001: Workaround: is to click on the project, in the targets interface to find build phases, according to the message "XXX" to determine the missing files, generally if the lack of custom files, XXX will be the missing class name, then in the Complie Add the file in the sources. If the class library is missing, the class library is added to the link Binary with libraries.

Reference: http://www.cnblogs.com/lovekarri/archive/2013/03/06/2945620.html

E002: Runtime, Error: Unknown class XXX in Interface Builder file.

Workaround: S001. Add the file in Complie sources.

iOS Development Notes

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.