Undefined symbols for Architecture i386 or ARMV7: "_objc_class_$_xxx

Source: Internet
Author: User
Undefined Symbols for Architecture i386: "_objc_class_$_xxx", referenced from:objc-class-ref in XXX
Ld:symbol (s) not found for architecture i386
Clang:error:linker command failed with exit code 1 (use-v to the invocation)
If True machine debugging is undefined symbols for architecture armv7 error. This error is usually caused by the project.pbxproj of this file, especially when multiple people collaborate on development, GIT submission is not specification may cause project.pbxproj error, causing the file reference is not in the Project.pbxproj file. The Xcode project import file is found according to the Project.pbxproj, and there is no reference to the file to which the error will be found.
Solution Click Project, click Build phases in the main interface, according to the prompt information "XXX" to determine what the missing files, generally if the custom file is missing, XXX will be the missing class name, then add the file in Complie sources. If the class library is missing, the class library is added to link Binary with libraries.

The problem I encountered was that the project.pbxproj was altered and there was a problem.

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.