我已经构建了一个ios应用程序目标c平台,我正在尝试将谷歌分析集成到应用程序中。我在ios开发中添加了以下代码。
// GAI选项
GAI *gai = [GAI sharedInstance];
gai.trackUncaughtExceptions = YES;
gai.logger.logLevel = kGAILogLevelVerbose;
[GAI sharedInstance].dispatchInterval = 20;
// Creating the tracker.
id<GAITracker> tracker = [[GAI sharedInstance] trackerWithTrackingId:@"My teacking id "];
但我在日志中遇到了这种错误
1)
iAd广告系列跟踪已停用,因为当前日期已过去 活动窗口。
2)
GGLClearcutLogger sendNextPendingRequestWithCompletionHandler:] _ block_invoke_3()错误 发布到Clearcut:错误域= NSURLErrorDomain代码= -1001“ 请求超时。“UserInfo = {NSUnderlyingError = 0x134d4eda0 {错误 Domain = kCFErrorDomainCFNetwork Code = -1001“(null)” UserInfo = {_ kCFStreamErrorCodeKey = -2102,_kCFStreamErrorDomainKey = 4}}, NSErrorFailingURLStringKey = https://play.googleapis.com/log, NSErrorFailingURLKey = https://play.googleapis.com/log, _kCFStreamErrorDomainKey = 4,_kCFStreamErrorCodeKey = -2102,NSLocalizedDescription =请求超时。} 2016-08-31 19:19:16.228 InteractiveContacts2 [649:135510]信息:GoogleAnalytics 3.14 - [GAIBatchingDispatcher didSendHits:response:data:error:](GAIBatchingDispatcher.m:223):Dispatch error:Error Domain = NSURLErrorDomain Code = -1001“请求超时。” UserInfo = {NSUnderlyingError = 0x13657e6c0 {错误 Domain = kCFErrorDomainCFNetwork Code = -1001“请求超时。” 的UserInfo = {NSErrorFailingURLStringKey = https://ssl.google-analytics.com/batch, NSErrorFailingURLKey = https://ssl.google-analytics.com/batch, _kCFStreamErrorCodeKey = -2102,_kCFStreamErrorDomainKey = 4,NSLocalizedDescription =请求超时。}}, NSErrorFailingURLStringKey = https://ssl.google-analytics.com/batch, NSErrorFailingURLKey = https://ssl.google-analytics.com/batch, _kCFStreamErrorDomainKey = 4,_kCFStreamErrorCodeKey = -2102,NSLocalizedDescription =请求超时。}
请提前帮助我