标签:ios admob 符号未定义 undefined symbols
在升级Admob的SDK版本到6.12.x时,
按照官方文档操作(https://developers.google.com/mobile-ads-sdk/docs/#ios),
添加如下framework:
StoreKit
AudioToolbox
MessageUI
SystemConfiguration
CoreGraphics
AdSupport
之后将-ObjC添加至应用目标构建设置中的Other Linker Flags。
编译,仍然会出现如下链接错误。
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_EKEvent", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)
"_OBJC_CLASS_$_EKEventEditViewController", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Admob(6.12.x)符号未定义错误的解决方法(IOS)
标签:ios admob 符号未定义 undefined symbols
原文地址:http://blog.csdn.net/cuibo1123/article/details/41196657