Undefined symbols for architecture arm64 旧版本Admob添加问题

阅读更多
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_ASIdentifierManager", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADDevice.o)
objc-class-ref in libGoogleAdMobAds.a(GADGestureIdUtil.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Google AdMob in Version 6.7.0

Also, check you have -ObjC set to Other Linker Flags in your project's target build settings and required frameworks are added.

 

旧版本Admob添加问题 导入一下包,

Google guide iOS developers on how to implement AdMob SDK, however they are missing some info. They tell you it's mandatory to add these Frameworks:

   - AudioToolbox.Framework
   - MessageUI.Framework
   - SystemConfiguration.Framework
   - CoreGraphics.Framework

To solve the error I added this ones also:

   -CoreData.Framework
   -AdSupport.Framework
   -CoreTelephony.Framework

你可能感兴趣的:(ios,google)