googlemobileads/dfpinterstitial.h'找不到文件
Googlemobileads对最新版本的更新显示了以下版本9的错误。
Showing All Errors Only
'GoogleMobileAds/DFPInterstitial.h' file not found
GoogleMobileAds updation to latest version shows the below error with the version 9.
Showing All Errors Only
'GoogleMobileAds/DFPInterstitial.h' file not found
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您评论说,您的代码中有
#import< googlemobileads/dfpInterstitial.h>
,并且找不到此标头文件。我下载了Google移动ADS SDK的版本9.5.0版本。事实证明,此标头文件不再可用。
这证实了我认为发生的事情:在第7版和9版之间,Google对其代码进行了大规模更改,并消除了此标头文件。
您需要做的是弄清楚您的代码如何使用版本7标头文件并找到版本9的替换。这意味着您必须对代码进行更改。通常,SDK设计人员确保所需的代码更改很小;因此,这可能不应该是一项巨大的努力。
You commented that you have
#import <GoogleMobileAds/DFPInterstitial.h>
in your code and that this header file is not found.I've downloaded version 9.5.0 of the Google Mobile Ads SDK. It turns out that this header file is no longer available.
This confirms what I thought had happened: Between version 7 and 9, Google has made large changes to its code and eliminated this header file.
What you need to do is figure out how your code uses the version 7 header file and find the replacement for version 9. This means that you'll have to make changes to your code. Often SDK designer make sure that required code changes are small; so it probably shouldn't be a big effort.