iOS Symbol (s) not found for architecture arm64 summary with hidden error cocoapods

Source: Internet
Author: User

First, the general

Error: DESKTOP/PROJECT/ASDF/WEIXIN/LIBWECHATSDK.A (3 slices) Undefinedsymbols for architecture arm64:

Such a compilation problem really good headache, the following is a useful way.

Archs = ARMv7 armv7s

Valid_archs = armv6 armv7 armv7s arm64

Second, http://stackoverflow.com/questions/33321897/xcode-7-1-symbols-not-found-for-architecture-arm64

Xcode 7.1-symbol (s) not found for architecture arm64

2

Down vote

Accepted

  1. In your project settings, ADD-LLIBAOTP to "other Linker Flags".
  2. Add the path to the library to "library Search Paths".

Alternatively, add the library to the Link Binary with Libraries build phase (for screenshots see Https://www.chilkatsoft. com/xcode-link-static-lib.asp).

Three

1

Down vote

Favorite

2

I ' m trying to run my app on a iphone5s (connected) not SIM. The project references a static libary. I did lipo on it and it supports i386 armv7 x86_64 arm64.

When I run I get Ld:symbols (s) isn't found for arch arm64

Under Build Settings, Arch ... I has $ (archs_standard) in bold is armv7 and arm64

Any ideas .... This is driving me crazy thanks in advance

2

Down vote

Accepted

  1. In your project settings, ADD-LLIBAOTP to "other Linker Flags".
  2. Add the path to the library to "library Search Paths".

Alternatively, add the library to the Link Binary with Libraries build phase (for screenshots see Https://www.chilkatsoft. com/xcode-link-static-lib.asp).

Iv. iOS compilation error: Objc-class-ref in APPDELEGATE.O solution

http://demo.netfoucs.com/banqingyang/article/details/43051671

Five, the use of Cocoapod program, may be modified by the other linker flag settings, resulting in the issue of compiling the line.

Workaround: Target->linking, other linker, flag and add $ (inherited) in other linker flag in both Debug and Release.

iOS Symbol (s) not found for architecture arm64 summary with hidden error cocoapods

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.