Unity AdMob iOS SDK链接器错误 [英] Unity AdMob iOS SDK linker error

查看:87
本文介绍了Unity AdMob iOS SDK链接器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力用xcode编译iOS AdMob SDK。
解决了无法找到模块GoogleMobileAds.framework问题的整整一天之后,我终于通过成功的编译使其成功,但是现在链接器失败了。
这些是显示的错误:

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:


未定义架构armv7的符号: __ kmsetForChildren,引用的
:Bulk_Assembly-CSharp-firstpass_0.o

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

__ kmisInterstitialReady,引用自:Bulk_Assembly-CSharp-firstpass_0.o中的
_Admob__kmisInterstitialReady_m1074969033
(也许您是说:_Admob__kmisInterstitialReady_m1074969033)

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

..
请帮助

and others.. Please help

推荐答案

事实证明是插件冲突且AdmobAPI文件夹错误地放置在Assets / Plugins项目中夹。
我有AdinCube android唯一的插件,它以某种方式与iOS AdMob插件冲突。
删除Plugins / Android文件夹(包含AdinCube sdk)和Plugins / AdmobAPI文件夹解决了xcode构建问题

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

这篇关于Unity AdMob iOS SDK链接器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆