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
解决使用Admob SDK时遇到的导入错误问题,包括检查项目设置、添加必要框架和配置-ObjC参数,确保解决arm64架构下未定义符号的问题。
1万+

被折叠的 条评论
为什么被折叠?



