2 garaster garaster 于 2013.06.27 15:28 提问

iPad应用启动的时候崩溃了

开发了一个应用,在调试阶段运行一切正常,但是到了真机就崩溃。

我设法找到了崩溃日志信息,如下:

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

Last Exception Backtrace:
0   CoreFoundation                  0x3238329e __exceptionPreprocess + 158
1   libobjc.A.dylib                 0x3a22e97a objc_exception_throw + 26
2   UIKit                           0x3451837c +[UIStoryboard storyboardWithName:bundle:] + 436
3   UIKit                           0x3435a58e -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 38
4   UIKit                           0x341e379c -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 524
5   UIKit                           0x3418bc34 -[UIApplication handleEvent:withNewEvent:] + 1000
6   UIKit                           0x3418b6c8 -[UIApplication sendEvent:] + 68
7   UIKit                           0x3418b116 _UIApplicationHandleEvent + 6150
8   GraphicsServices                0x35e9659e _PurpleEventCallback + 586
9   GraphicsServices                0x35e961ce PurpleEventCallback + 30
10  CoreFoundation                  0x3235816e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30
11  CoreFoundation                  0x32358112 __CFRunLoopDoSource1 + 134
12  CoreFoundation                  0x32356f94 __CFRunLoopRun + 1380
13  CoreFoundation                  0x322c9eb8 CFRunLoopRunSpecific + 352
14  CoreFoundation                  0x322c9d44 CFRunLoopRunInMode + 100
15  UIKit                           0x341e2480 -[UIApplication _run] + 664
16  UIKit                           0x341df2fc UIApplicationMain + 1116

1个回答

jackvshua
jackvshua   2013.12.03 13:52
已采纳

在storyboard找不到相应的id 名称,检查id名称是否相同

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!