One of the pits that iOS development encounters: development meets the following error: Undefined Symbols for architecture arm64

Source: Internet
Author: User

Blog debut, write not Good Hope understanding!

"For architecture arm64" means that there is no support for arm64, the architecture related in build settings need to be configured correctly

In the recent Upgrade Cocoapod tool management, because our engineering version number has been upgraded to 2.1, so the upgrade process encountered a lot of problems, tossing for several days. This is one of the problems. Here's our solution.

Compile the report after the upgrade

Ld:can ' t link with a main executable file '/users/wayneliu_mac/library/developer/xcode/deriveddata/****- cmbiltzmfszxurckgbegcdcfthzy/build/products/debug-iphoneos/***.app/*** ' for Architecture arm64

One solution is to set the build active architecture only to Yes error, set to No; fix the problem

The second option is:

Compile on the real machine emulator first and then compile on the real machine (for devices above 5s I can handle this)

Solution Three: is to put some cocoapod references to the file to be deleted and re-add, you can also pass!

In addition to some other online solutions, I have tried, but for my project still no way to compile through, but here also put him out, everyone encourage!

@1: Select Edit scheme->build-> to cancel the Run button selection in test target

@2: Select Test target-> Click general-> to Select your current project in host application

@3: Our solution is to set the build Active Architecture only to Yes in our own project, which can be

For more details, please visit: http://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64

One of the pits that iOS development encounters: development meets the following error: Undefined Symbols for architecture arm64

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.