错误集成Google Analytics for iOs App?

时间:2014-11-25 12:30:02

标签: ios google-analytics

我在我的app delegate

中添加了以下这些行
     // Optional: automatically send uncaught exceptions to Google Analytics.
[GAI sharedInstance].trackUncaughtExceptions = YES;

// Optional: set Google Analytics dispatch interval to e.g. 20 seconds.
[GAI sharedInstance].dispatchInterval = 20;

// Optional: set Logger to VERBOSE for debug information.
[[[GAI sharedInstance] logger] setLogLevel:kGAILogLevelVerbose];

// Initialize tracker. Replace with your tracking ID.
[[GAI sharedInstance] trackerWithTrackingId:@"UA-my -id"];

在构建应用程序时,我收到以下错误

Error Image

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:2)

已解决只需添加Google Analytics库

Implementing Google Analytics