Admob (6.12.x) symbol undefined error resolution (IOS)

Source: Internet
Author: User
Tags admob

When upgrading the SDK version of AdMob to 6.12.x,

Follow the official documentation (https://developers.google.com/mobile-ads-sdk/docs/#ios),

Add the following framework:

StorekitAudiotoolboxMessageuisystemconfigurationCoregraphicsAdsupport

after add-OBJC to other Linker Flags in the app target build settings.

Compile, the following link error will still appear.

Undefinedsymbols forArchitecture ARMv7:  "_objc_class_$_ekevent",referenced from:OBJC-class-ref inchlibgoogleadmobads.a(Gadopener.o)  "_objc_class_$_ekeventeditviewcontroller",referenced from:OBJC-class-ref inchlibgoogleadmobads.a(Gadopener.o)LD:symbol(s)  notfound forArchitecture Armv7clang:Error:linker command failed with ExitCode1 ( Use -v to see invocation)


here's how to fix it:add eventkit.framework and eventkitui.framework to the project.
To Add a method: Click Project Properties at the top of file browsing . Open the General tab, Locate the Link framework and Libraries under the label . using the displayed + button to add the above two frames.






Admob (6.12.x) symbol undefined error resolution (IOS)

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.