Admob Apple Mach-O Linker Error -


my source:

_admobbanner = [[gadbannerview alloc] initwithframe:cgrectmake(0, 0, 320, 50)]; _admobbanner.adunitid = my_banner_unit_id; _admobbanner.rootviewcontroller = self; _admobbanner.delegate = self; [self.view addsubview:_admobbanner];  [nsarray arraywithobjects:gad_simulator_id, nil]; [_admobbanner loadrequest:[gadrequest request]];  

add framework
storekit.framework
systemconfiguration.framework
messageui.framework
audiotoolbox.framework

but when linking application see error:

undefined symbols architecture i386:   "_objc_class_$_asidentifiermanager", referenced from:       objc-class-ref in libgoogleadmobads.a(gadidentifierutilities.o) ld: symbol(s) not found architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation) 

can provide pointers i've gone wrong?

you need link against adsupport.framework provide asidentifiermanager.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -