2015-10-30 18:15:29.933 计算器[1696:127982] *** Assertion failure in -[UIApplication _runWithMainScene:transitionContext:completion:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3512.29.5/UIApplication.m:3299
2015-10-30 18:15:29.939 计算器[1696:127982] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Application windows are expected to have a root view controller at the end of application launch'
*** First throw call stack:
(
0 CoreFoundation 0x02524a84 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00550e02 objc_exception_throw + 50
2 CoreFoundation 0x0252491a +[NSException raise:format:arguments:] + 138
3 Foundation 0x001cfe86 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118
4 UIKit 0x00957a9b -[UIApplication _runWithMainScene:transitionContext:completion:] + 3975
5 UIKit 0x0097be4d __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke3208 + 68
6 UIKit 0x00953fb4 -[UIApplication workspaceDidEndTransaction:] + 163
7 FrontBoardServices 0x036fdca4 __37-[FBSWorkspace clientEndTransaction:]_block_invoke_2 + 71
8 FrontBoardServices 0x036fd77b __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 54
9 FrontBoardServices 0x0371b1a3 -[FBSSerialQueue _performNext] + 184
10 FrontBoardServices 0x0371b5da -[FBSSerialQueue _performNextFromRunLoopSource] + 52
11 FrontBoardServices 0x0371a8d6 FBSSerialQueueRunLoopSourceHandler + 33
12 CoreFoundation 0x0243ed1f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
13 CoreFoundation 0x024349ab __CFRunLoopDoSources0 + 523
14 CoreFoundation 0x02433dc8 __CFRunLoopRun + 1032
15 CoreFoundation 0x02433706 CFRunLoopRunSpecific + 470
16 CoreFoundation 0x0243351b CFRunLoopRunInMode + 123
17 UIKit 0x00953854 -[UIApplication _run] + 540
18 UIKit 0x009591eb UIApplicationMain + 160
19 ËÆ°ÁÆóÂô® 0x00082baa main + 138
20 libdyld.dylib 0x030eba21 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)