Unity AdMob iOS SDK linker error

断了今生、忘了曾经 提交于 2019-12-12 04:21:25

问题


I am struggling to compile the iOS AdMob SDK in xcode. After whole day of solving the "Module GoogleMobileAds.framework can not be found" problem, I finally made it through successful compile, but now the linker fails. These are the errors it displays:

Undefined symbols for architecture armv7: "__kmsetForChildren", referenced from: _Admob__kmsetForChildren_m1210033255 in Bulk_Assembly-CSharp-firstpass_0.o

"__kmisInterstitialReady", referenced from: _Admob__kmisInterstitialReady_m1074969033 in Bulk_Assembly-CSharp-firstpass_0.o (maybe you meant: _Admob__kmisInterstitialReady_m1074969033)

and others.. Please help


回答1:


It turns out It was plugins conflict and AdmobAPI folder mistakenly placed in Assets/Plugins project folder. I had AdinCube android only plugin which was conflicting the iOS AdMob plugin somehow. Removing the Plugins/Android folder (which contained the AdinCube sdk) and Plugins/AdmobAPI folder solved the xcode build problem



来源:https://stackoverflow.com/questions/38599154/unity-admob-ios-sdk-linker-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!