我的項目是崩潰找出錯誤,並指出以下行main.m
文件如何從日誌
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
,並顯示如下,而且再也找不到文件或行號修復登錄控制檯錯誤。
2014-07-23 13:24:08.564 Test Project[11312:707] Starting app
2014-07-23 13:24:08.577 Test Project[11312:707] Application windows are expected to have a root view controller at the end of application launch
2014-07-23 13:24:08.969 Test Project[11312:707] get pin pass
2014-07-23 13:24:08.973 Test Project[11312:707] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array'
*** First throw call stack:
(0x36c5f88f 0x33076259 0x36bb723d 0x987e7 0x32892933 0x36c33a33 0x36c33699 0x36c3226f 0x36bb54a5 0x36bb536d 0x34d7c439 0x34e5ecd5 0x93679 0x935c8)
terminate called throwing an exception(lldb)
有一點*** -[__NSArrayI objectAtIndex:]:
但它在所有文件中使用越來越多。
如何解決這個錯誤。
運行的Xcode工具簡介殭屍。 –
您是否添加了異常斷點? – trojanfoe