Xcode 9中未检测到GoogleMobileAds(Admob)框架-链接器错误 [英] GoogleMobileAds (Admob) framework not detected in Xcode 9 - linker error

查看:342
本文介绍了Xcode 9中未检测到GoogleMobileAds(Admob)框架-链接器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从中引用了链接器错误GADInterstitial。架构arm64的未定义符号

I got linker error GADInterstitial referenced from. Undifined symbols for architecture arm64

我使用了最新的admob框架GoogleMobileAdsSdkiOS-7.24.0

I used latest admob framework GoogleMobileAdsSdkiOS-7.24.0

请参阅附件图像。如何在iOS 11上修复它?

See attach image. How to fix it for iOS 11 ?

推荐答案

其Xcode 9错误。在Xcode边栏中添加框架后,它永远不会在链接二进制文件与库部分中自动添加。

Its Xcode 9 Bug. Once you add framework in Xcode side bar, it never auto adds in 'Link Binary with Libraries' section.

解决方案很简单。只需将Xcode侧栏中的框架拖动到Link Binary部分即可。请参阅附加图片。

Solution is simple. Just drag framework in Xcode Side bar to Link Binary section. See attach image.

这篇关于Xcode 9中未检测到GoogleMobileAds(Admob)框架-链接器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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