起初,一切正常。但谷歌AdMob SDK更新后全部损坏,无法弄清楚如何解决这个问题:
Undefined symbols for architecture i386:
"_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 i386
Clangers: error: linker command failed with exit code 1 (use -v to see invocation).
答案 0 :(得分:3)
我通过将EventKit.framework和EventKitUI.framework添加到我的项目中解决了这个问题
答案 1 :(得分:0)
最后我从this链接找到它,其中包括EventKit.framework
和EventKitUI.framework
:
SDK库引用了以下iOS开发框架,这些框架可能尚未成为您项目的一部分:
- AdSupport
- AudioToolbox
- AVFoundation
- CoreGraphics中
- CoreTelephony
- EventKit
- EventKitUI
- MessageUI
- StoreKit
- SystemConfiguration