gpt4 book ai didi

ios - 在 iOS 中找不到模块 'GoogleMobileAds'

转载 作者:IT王子 更新时间:2023-10-29 07:48:10 24 4
gpt4 key购买 nike

我使用 Pod 将 Google AdMob SDK 更新到 7.1.0。

所以在我的 appDelegate.m 中,我尝试添加这一行

@import GoogleMobileAds;

但我收到错误消息说未找到模块“GoogleMobileAds”

这个问题也存在于 gitHub 上的 google Interstial Ad example 中。

问候兰 git

最佳答案

将 GoogleMobileAds.framework 复制到您的应用程序时,请确保选中“如果需要复制项目”复选框。

enter image description here

在我的例子中,我删除了框架并再次添加了该框架并选中了该框,问题就消失了。

关于ios - 在 iOS 中找不到模块 'GoogleMobileAds',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29485189/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com