[1820:48382] *** Assertion failure in -[UIApplication _runWithMainScene:transitionContext:completion:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3590.1/UIApplication.m:3676
1820:48382] *** 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 0x00000001041d486b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000103c3624e objc_exception_throw + 48
2 CoreFoundation 0x00000001041d8962 +[NSException raise:format:arguments:] + 98
3 Foundation 0x00000001037ddd1d -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 UIKit 0x00000001045f2ab4 -[UIApplication _runWithMainScene:transitionContext:completion:] + 3922
5 UIKit 0x00000001045ef3a5 -[UIApplication workspaceDidEndTransaction:] + 188
6 FrontBoardServices 0x0000000108192a2e __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24
7 FrontBoardServices 0x00000001081928a7 -[FBSSerialQueue _performNext] + 189
8 FrontBoardServices 0x0000000108192c30 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
9 CoreFoundation 0x000000010417a5d1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
10 CoreFoundation 0x000000010415f85c __CFRunLoopDoSources0 + 556
11 CoreFoundation 0x000000010415ed46 __CFRunLoopRun + 918
12 CoreFoundation 0x000000010415e754 CFRunLoopRunSpecific + 420
13 UIKit 0x00000001045edc22 -[UIApplication _run] + 434
14 UIKit 0x00000001045f3e9c UIApplicationMain + 159
15 VRMax_swift 0x000000010366e22f main + 111
16 libdyld.dylib 0x0000000107a0f68d start + 1
17 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException