Cocoa touch ARC下谷歌分析IOS v2(测试版)崩溃

Cocoa touch ARC下谷歌分析IOS v2(测试版)崩溃,cocoa-touch,ios4,google-analytics,Cocoa Touch,Ios4,Google Analytics,我从Google Analytics v2.0 beta 3中获得以下崩溃: 它由以下内容开始: __45-[GAIDispatcher queueDispatch:url:timestamp:]_block_invoke_0 + 119 at GAIDispatcher.m:633 其次是: -[GAIDispatcher persistAndDispatch:url:timestamp:] + 427 at GAIDispatcher.m:525 错误是: ** -[__NSDict

我从Google Analytics v2.0 beta 3中获得以下崩溃: 它由以下内容开始:

 __45-[GAIDispatcher queueDispatch:url:timestamp:]_block_invoke_0 + 119 at GAIDispatcher.m:633
其次是:

 -[GAIDispatcher persistAndDispatch:url:timestamp:] + 427 at GAIDispatcher.m:525
错误是:

** -[__NSDictionaryM setObject:forKey:]: message sent to deallocated instance 0xb68c690
我的设置如下: 我有一个应用程序,它使用有限的一个。。来自ios 4.3 我的应用程序支持在SDK 6.0下开发的最低SDK 4.3。 崩溃只出现在模拟器上,在设备上正常工作,它是一个EXC_断点代码=EXC_I386_BPT,子代码=0x0

我的代码中只有以下内容,在ApplicationIDFinishLaunching中:

    [GAI sharedInstance].trackUncaughtExceptions = NO;
// Optional: set Google Analytics dispatch interval to e.g. 20 seconds.
[GAI sharedInstance].dispatchInterval = 5;
// Optional: set debug to YES for extra debugging information.
[GAI sharedInstance].debug = YES;
// Create tracker instance.
id<GAITracker> tracker = [[GAI sharedInstance] trackerWithTrackingId:UA_NUMBER];


 [tracker trackEventWithCategory:@"TestV1"
                      withAction:@"ActionV1"
                       withLabel:@"LabelV1"
                       withValue:[NSNumber numberWithInt:10]];

我也有类似的问题。你明白了吗?我所做的是为模拟器禁用它,并且只在设备上运行时才启用它。V3.0.2也存在类似的问题,无法找出原因:VERBOSE:GoogleAnalytics 3.02-[GAIBatchingDispatcher persist:]GAIBatchingDispatcher.m:414:保存的命中率:{parameters={…};时间戳=2014-01-08 19:55:05+0000;}malloc:**mach\u vm\u mapsize=1048576失败错误代码=3***错误:无法分配区域***在malloc\u error\u break中设置断点以调试ChevronRetail7811,0x3bc01a8 malloc:**mach\u vm\u mapsize=1048576失败错误代码=3***错误:无法分配区域***在malloc\u error\u break中设置断点以调试
#   Address Category    Event Type  RefCt   Timestamp   Size    Responsible Library Responsible Caller
0   0xd18fe30   __NSDictionaryM Malloc  1   00:20.889.002   32  PostcodeGazette -[GAIDispatcher queueDispatch:url:]
1   0xd18fe30   __NSDictionaryM Autorelease     00:20.889.015   0   PostcodeGazette -[GAIDispatcher queueDispatch:url:]
2   0xd18fe30   __NSDictionaryM Release 0   00:24.832.529   0   UIKit   _UIApplicationHandleEvent
3   0xd18fe30   __NSDictionaryM Zombie  -1  00:25.067.003   0   PostcodeGazette -[GAIDispatcher persistAndDispatch:url:timestamp:]