我的应用程序在启动后立即崩溃。不知道问题所在。之前工作正常。突然间它停止了工作。有人可以帮助解决崩溃问题。这是日志:
2014-09-09 12:47:56.029ePractice [3701:60b]例外(
0 CoreFoundation 0x01d8a1e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x018558e5 objc_exception_throw + 44
2 UIKit 0x00a79400 -[UIStoryboard name] + 0
3 UIKit 0x00515692 -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 53
4 UIKit 0x00515949 -[UIApplication _loadMainInterfaceFile] + 245
5 UIKit 0x0051454e -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 543
6 UIKit 0x00528f92 -[UIApplication handleEvent:withNewEvent:] + 3517
7 UIKit 0x00529555 -[UIApplication sendEvent:] + 85
8 UIKit 0x00516250 _UIApplicationHandleEvent + 683
9 GraphicsServices 0x040d1f02 _PurpleEventCallback + 776
10 GraphicsServices 0x040d1a0d PurpleEventCallback + 46
11 CoreFoundation 0x01d05ca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
12 CoreFoundation 0x01d059db __CFRunLoopDoSource1 + 523
13 CoreFoundation 0x01d3068c __CFRunLoopRun + 2156
14 CoreFoundation 0x01d2f9d3 CFRunLoopRunSpecific + 467
15 CoreFoundation 0x01d2f7eb CFRunLoopRunInMode + 123
16 UIKit 0x00513d9c -[UIApplication _run] + 840
17 UIKit 0x00515f9b UIApplicationMain + 1225
18 ePractice 0x00176b94 main + 164
19 libdyld.dylib 0x0263970d start + 1
20 ??? 0x00000001 0x0 + 1
)
答案 0 :(得分:2)
检查Info.plist
文件中是否有正确的故事板名称。
另外,请检查Build Phases -> Copy Bundle Resources
答案 1 :(得分:1)
确保您在此处指定了正确的Storyboard文件名:
Click on ProjectName-> General Tab -> Deployment Info -> Main Interface.
可能你已经重命名了你的文件而忘记在这里更改它。