Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS应用程序上带有Web趋势SDK的谷歌移动广告问题_Ios_Swift_Google Dfp_Ios8.4_Webtrends - Fatal编程技术网

iOS应用程序上带有Web趋势SDK的谷歌移动广告问题

iOS应用程序上带有Web趋势SDK的谷歌移动广告问题,ios,swift,google-dfp,ios8.4,webtrends,Ios,Swift,Google Dfp,Ios8.4,Webtrends,我们的iOS应用程序已经在我们的iOS应用程序中集成了Web Trends SDK,现在我们面临着奇怪的问题 GoogleMobileAds在与iOS应用程序集成后不起作用,但如果我们删除Web Trends SDK,它会起作用。GoogleMobileAds是否与Web Trends SDK不兼容? 我使用以下代码来显示谷歌横幅广告 adView = DFPBannerView(frame:CGRectMake(0, 0, 320, 50)) adView.adUnitID = "/6499/

我们的iOS应用程序已经在我们的iOS应用程序中集成了Web Trends SDK,现在我们面临着奇怪的问题 GoogleMobileAds在与iOS应用程序集成后不起作用,但如果我们删除Web Trends SDK,它会起作用。GoogleMobileAds是否与Web Trends SDK不兼容? 我使用以下代码来显示谷歌横幅广告

adView = DFPBannerView(frame:CGRectMake(0, 0, 320, 50))
adView.adUnitID = "/6499/example/banner"
adView.rootViewController = self;
adView.rootViewController = self;
let adrequest = DFPRequest()
adView.loadRequest(adrequest)
我们正在控制台中获取如下日志,可能对您有所帮助

2015-09-17 12:15:26.275 WebTrendsDemo[270:13293] -[GADAdView previewItem]: unrecognized selector sent to instance 0x157ef560
2015-09-17 12:15:26.276 WebTrendsDemo[270:13293] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> -[GADAdView previewItem]: unrecognized selector sent to instance 0x157ef560
2015-09-17 12:15:26.275 WebTrendsDemo[270:13293]-[GADAdView previewItem]:发送到实例0x157ef560的无法识别的选择器
2015-09-17 12:15:26.276 WebTrendsDemo[270:13293]***WebKit丢弃了webView中未捕获的异常:DecisedPolicyFornavigation操作:请求:帧:decisionListener:委托:-[GADAdView previewItem]:未识别的选择器发送到实例0x157ef560
我已经通过创建几个演示应用程序对其进行了测试,但在带有谷歌广告的WebTrendSDK中得到了相同的结果,没有成功。 
 如果我删除了WebTrendSDK,那么GoogleAdStart就会像我前面提到的那样工作。你可以通过使用带有谷歌广告的WebTrendSDK创建一个演示应用来检查它。 
 如果你通过创建一个演示应用程序成功地用谷歌广告实现了WebTrendSDK,那么请与我分享。 
 
 谢谢                        

Web趋势SDK版本3.0.4中的此问题。请使用Web趋势SDK版本3.0.6。Web趋势解决了当前iOS WT SDK版本中的问题。我能够在Web Trends当前SDK版本(3.0.6)中获得谷歌移动广告。

我面临同样的问题。