2014-07-18 18 views
2

에 의미 :무엇이 ??? 나는 아이폰 OS에 새로운 해요, 제가 코드에 노력하고있어 간단한 응용 프로그램은 다음과 추락 아이폰 OS

2014-07-18 22:21:19.006 Weather Client[1191:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] was unable to load a nib named "WeatherClientViewController"' 
*** First throw call stack: 
(
    0 CoreFoundation      0x017ec1e4 __exceptionPreprocess + 180 
    1 libobjc.A.dylib      0x0156b8e5 objc_exception_throw + 44 
    2 CoreFoundation      0x017ebfbb +[NSException raise:format:] + 139 
    3 UIKit        0x003497d6 -[UIViewController _loadViewFromNibNamed:bundle:] + 505 
    4 UIKit        0x00349e9d -[UIViewController loadView] + 302 
    5 UIKit        0x0034a0d3 -[UIViewController loadViewIfRequired] + 78 
    6 UIKit        0x0034a5d9 -[UIViewController view] + 35 
    7 UIKit        0x0026a267 -[UIWindow addRootViewControllerViewIfPossible] + 66 
    8 UIKit        0x0026a5ef -[UIWindow _setHidden:forced:] + 312 
    9 UIKit        0x0026a86b -[UIWindow _orderFrontWithoutMakingKey] + 49 
    10 UIKit        0x002753c8 -[UIWindow makeKeyAndVisible] + 65 
    11 Weather Client      0x000023eb -[AppDelegate application:didFinishLaunchingWithOptions:] + 715 
    12 UIKit        0x0022514f -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 309 
    13 UIKit        0x00225aa1 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1810 
    14 UIKit        0x0022a667 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824 
    15 UIKit        0x0023ef92 -[UIApplication handleEvent:withNewEvent:] + 3517 
    16 UIKit        0x0023f555 -[UIApplication sendEvent:] + 85 
    17 UIKit        0x0022c250 _UIApplicationHandleEvent + 683 
    18 GraphicsServices     0x037e1f02 _PurpleEventCallback + 776 
    19 GraphicsServices     0x037e1a0d PurpleEventCallback + 46 
    20 CoreFoundation      0x01767ca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53 
    21 CoreFoundation      0x017679db __CFRunLoopDoSource1 + 523 
    22 CoreFoundation      0x0179268c __CFRunLoopRun + 2156 
    23 CoreFoundation      0x017919d3 CFRunLoopRunSpecific + 467 
    24 CoreFoundation      0x017917eb CFRunLoopRunInMode + 123 
    25 UIKit        0x00229d9c -[UIApplication _run] + 840 
    26 UIKit        0x0022bf9b UIApplicationMain + 1225 
    27 Weather Client      0x00002e3d main + 141 
    28 libdyld.dylib      0x01e33701 start + 1 
    29 ???         0x00000001 0x0 + 1 
) 
libc++abi.dylib: terminating with uncaught exception of type NSException 
(lldb) 

은 내가 궁금하기의 중요성 무엇입니까 ??? 내가 29 번에서 온라인 검색을 시도했다. 삼항 연산자와 관련이 있습니다. 아무도 말해 줄 수 ??? 방법?

답변

4

호출 스택에 남아 어디에도 없습니다 : start (런타임 시작 코드) 프로그램의 main 함수를 호출 (28)가

27 Weather Client      0x00002e3d main + 141 
28 libdyld.dylib      0x01e33701 start + 1 
29 ???         0x00000001 0x0 + 1 

프레임이. 이 전에는 (프로그램의 수명 기간 동안) 아무 것도 일어나지 않습니다.

어떤 이유로 든 첫 번째 실제 프레임 앞에 스택에 약간의 값 1이 있으며 스택 워킹 코드는 어떤 기능이 (잘못된) 주소 1에 있는지 분명히 알지 못합니다.

정말 걱정할 사항이 없습니다.