了解解密的崩溃日志iOS

了解解密的崩溃日志iOS,ios,objective-c,xcode,ipad,symbolicatecrash,Ios,Objective C,Xcode,Ipad,Symbolicatecrash,我试图了解在打开应用程序时发生的崩溃问题的崩溃日志。当用户打开应用程序时,它立即崩溃 以下是崩溃日志中的行: Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Triggered by Thread: 0 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 l

我试图了解在打开应用程序时发生的崩溃问题的崩溃日志。当用户打开应用程序时,它立即崩溃

以下是崩溃日志中的行:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x3039528c 0x30381000 + 82572
1   myApp                           0x003bdd24 0x95000 + 3312932
2   libsystem_platform.dylib        0x304100a0 0x3040c000 + 16544
3   libsystem_pthread.dylib         0x30415c92 0x30412000 + 15506
4   libsystem_c.dylib               0x30334934 0x302eb000 + 301364
5   myApp                           0x0017c7a4 0x95000 + 948132
6   myApp                           0x0017c490 0x95000 + 947344
7   myApp                           0x000ed8e8 0x95000 + 362728
8   myApp                           0x000ed010 0x95000 + 360464
9   myApp                           0x0017b842 0x95000 + 944194
10  UIKit                           0x2536fee0 0x252f6000 + 499424
在对与myApp相关的线程0和帧1进行符号化后,看起来如下所示:

__39+[CLSUserDefaults standardUserDefaults]_block_invoke (in myApp) + 24
-[AppDelegate application:handleOpenURL:] (in iPegs) (AppDelegate.m:448)
在对与myApp相关的线程0和帧5进行符号化后,看起来如下所示:

__39+[CLSUserDefaults standardUserDefaults]_block_invoke (in myApp) + 24
-[AppDelegate application:handleOpenURL:] (in iPegs) (AppDelegate.m:448)
从第一个结果
[CLSUserDefaults standardUserDefaults]
中,我不了解任何可能导致myApp崩溃的因素,也不知道该代码的位置

从第二个结果
[AppDelegate应用程序:handleOpenURL:
中,第448行包含以下代码:

[Flurry logEvent:@"Import Document" withParameters:[NSMutableDictionary dictionaryWithObjectsAndKeys:@"Import Document",@"category",@"Import",@"action",@"open",@"label", nil] timed:YES];
handleOpenURL的功能如下:

- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
{
    if ([[DBSession sharedSession] handleOpenURL:url])
    {
        if ([[DBSession sharedSession] isLinked])
        {
            [[NSNotificationCenter defaultCenter] postNotificationName:COMMNAD_EXPORT_DROPBOX object:nil userInfo:nil];
        }
        return YES;
    }
    else
    {
        if ([[ipegsClient shareInstance]getLoginUser]!=nil)
        {
            id<GAITracker> tracker = [[GAI sharedInstance] defaultTracker];

            [tracker send:[[GAIDictionaryBuilder createEventWithCategory:@"Import Document"     // Event category (required)
                                                                  action:@"Import"  // Event action (required)
                                                                   label:@"open"          // Event label
                                                                   value:[NSNumber numberWithInt:1]] build]];
            [Flurry logEvent:@"Import Document" withParameters:[NSMutableDictionary dictionaryWithObjectsAndKeys:@"Import Document",@"category",@"Import",@"action",@"open",@"label", nil] timed:YES];
            [[NSNotificationCenter defaultCenter] postNotificationName:COMMAND_IMPORT_FILE_DOCUMENT object:url];


            return YES;
        }
        else
        {
            UIAlertView *alr = [[UIAlertView alloc]initWithTitle:@"myApp" message:@"Please login to import" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
            [alr show];

            return NO;
        }
        return YES;
    }

    // Add whatever other url handling code your app requires here
    return NO;
}
-(BOOL)应用程序:(UIApplication*)应用程序handleOpenURL:(NSURL*)url
{
if([[DBSession sharedSession]handleOpenURL:url])
{
如果([[DBSession sharedSession]已链接])
{
[[NSNotificationCenter defaultCenter]postNotificationName:COMMNAD_EXPORT_DROPBOX对象:nil用户信息:nil];
}
返回YES;
}
其他的
{
如果([[ipegsClient shareInstance]getLoginUser]!=nil)
{
id跟踪器=[[GAI sharedInstance]defaultTracker];
[跟踪器发送:[[GAIDictionaryBuilder createEventWithCategory:@“导入文档”//事件类别(必需)
操作:@“导入”//事件操作(必需)
标签:@“打开”//事件标签
值:[NSNumber numberWithInt:1]]生成]];
[Flurry logEvent:@“导入文档”,带参数:[NSMutableDictionary dictionaryWithObjectsAndKeys:@“导入文档”、@“类别”、@“导入”、@“操作”、@“打开”、@“标签”,无]定时:是];
[[NSNotificationCenter defaultCenter]postNotificationName:COMMAND\u IMPORT\u FILE\u DOCUMENT object:url];
返回YES;
}
其他的
{
UIAlertView*alr=[[UIAlertView alloc]initWithTitle:@“myApp”消息:@“请登录以导入”代理:nil cancelButtonTitle:@“确定”其他按钮:nil,nil];
[alr show];
返回否;
}
返回YES;
}
//在此处添加应用程序需要的任何其他url处理代码
返回否;
}

那么,您能帮助我理解这一点吗?

这是在模拟器上测试时发生的,还是此崩溃日志来自您将应用程序提供给测试的某个设备。还是来自苹果?此日志来自我们客户的一台iPad设备。是否检查客户iPad的版本和型号?我的客户也面临着这个问题。一旦他们打开应用程序,它就会崩溃。我在我这边测试过,但没有崩溃。iPad 2和iOS 8.2,你在项目中使用过crashlytics或flurry来报告错误吗?没有,我没有使用过