[ERROR] The application has crashed with an uncaught exception 'NSInvalidArgumentException'. [ERROR] Reason: [ERROR] -[TiDatabaseProxy window]: unrecognized selector sent to instance 0x7fac1f031380 [ERROR] Stack trace: [ERROR] 0 CoreFoundation 0x000000010cbe9113 __exceptionPreprocess + 147 [ERROR] 1 libobjc.A.dylib 0x000000010bb97f41 objc_exception_throw + 48 [ERROR] 2 CoreFoundation 0x000000010cc6a024 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132 [ERROR] 3 CoreFoundation 0x000000010cb6bf78 ___forwarding___ + 1432 [ERROR] 4 CoreFoundation 0x000000010cb6b958 _CF_forwarding_prep_0 + 120 [ERROR] 5 UIKit 0x000000010518d9cc __33-[UISearchController _commonInit]_block_invoke + 145 [ERROR] 6 Foundation 0x0000000108f2b249 -[__NSObserver _doit:] + 303 [ERROR] 7 CoreFoundation 0x000000010cb84eac __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 [ERROR] 8 CoreFoundation 0x000000010cb84daa _CFXRegistrationPost + 442 [ERROR] 9 CoreFoundation 0x000000010cb84af2 ___CFXNotificationPost_block_invoke + 50 [ERROR] 10 CoreFoundation 0x000000010cb46792 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1826 [ERROR] 11 CoreFoundation 0x000000010cb4590c _CFXNotificationPost + 652 [ERROR] 12 Foundation 0x0000000108eeb8f2 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66 [ERROR] 13 UIKit 0x0000000104b56889 __58-[_UIWindowRotationAnimationController animateTransition:]_block_invoke + 309 [ERROR] 14 UIKit 0x0000000104b566df -[_UIWindowRotationAnimationController animateTransition:] + 542 [ERROR] 15 UIKit 0x000000010443b666 -[UIWindow _rotateToBounds:withAnimator:transitionContext:] + 601 [ERROR] 16 UIKit 0x000000010443e38e -[UIWindow _rotateWindowToOrientation:updateStatusBar:duration:skipCallbacks:] + 1859 [ERROR] 17 UIKit 0x0000000104483630 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 560 [ERROR] 18 UIKit 0x00000001044838cb +[UIView(UIViewAnimationWithBlocks) _animateWithDuration:delay:options:factory:animations:completion:] + 114 [ERROR] 19 UIKit 0x0000000104c1e9dc +[UIStatusBarAnimationParameters animateWithParameters:fromCurrentState:frameInterval:animations:completion:] + 354 [ERROR] 20 UIKit 0x0000000104c1e857 +[UIStatusBarAnimationParameters animateWithParameters:fromCurrentState:animations:completion:] + 83 [ERROR] 21 UIKit 0x0000000104b64fed -[UIStatusBarWindow setOrientation:animationParameters:] + 278 [ERROR] 22 UIKit 0x00000001043c31b1 -[UIApplication setStatusBarOrientation:animationParameters:notifySpringBoardAndFence:updateBlock:] + 791 [ERROR] 23 UIKit 0x000000010443e934 __78-[UIWindow _rotateWindowToOrientation:updateStatusBar:duration:skipCallbacks:]_block_invoke.1163 + 288 [ERROR] 24 UIKit 0x0000000104b569ae __58-[_UIWindowRotationAnimationController animateTransition:]_block_invoke_2 + 155 [ERROR] 25 UIKit 0x0000000104488271 +[UIView(Internal) _performBlockDelayingTriggeringResponderEvents:] + 188 [ERROR] 26 UIKit 0x0000000104b567dc __58-[_UIWindowRotationAnimationController animateTransition:]_block_invoke + 136 [ERROR] 27 UIKit 0x0000000104483630 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 560 [ERROR] 28 UIKit 0x0000000104483b0d +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] + 99 [ERROR] 29 UIKit 0x0000000104b566c2 -[_UIWindowRotationAnimationController animateTransition:] + 513 [ERROR] 30 UIKit 0x000000010443b666 -[UIWindow _rotateToBounds:withAnimator:transitionContext:] + 601 [ERROR] 31 UIKit 0x000000010443e38e -[UIWindow _rotateWindowToOrientation:updateStatusBar:duration:skipCallbacks:] + 1859 [ERROR] 32 UIKit 0x000000010443edc4 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:] + 709 [ERROR] 33 UIKit 0x000000010443db8a -[UIWindow _setRotatableViewOrientation:updateStatusBar:duration:force:] + 123 [ERROR] 34 UIKit 0x000000010443c6ec __57-[UIWindow _updateToInterfaceOrientation:duration:force:]_block_invoke + 112 [ERROR] 35 UIKit 0x000000010443c57a -[UIWindow _updateToInterfaceOrientation:duration:force:] + 485 [ERROR] 36 CoreFoundation 0x000000010cb84eac __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 [ERROR] 37 CoreFoundation 0x000000010cb84daa _CFXRegistrationPost + 442 [ERROR] 38 CoreFoundation 0x000000010cb84af2 ___CFXNotificationPost_block_invoke + 50 [ERROR] 39 CoreFoundation 0x000000010cb46792 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1826 [ERROR] 40 CoreFoundation 0x000000010cb4590c _CFXNotificationPost + 652 [ERROR] 41 Foundation 0x0000000108eeb8f2 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66 [ERROR] 42 UIKit 0x00000001047c69a1 -[UIDevice setOrientation:animated:] + 290 [ERROR] 43 UIKit 0x0000000104e7b683 __124-[_UICanvasDeviceOrientationSettingsDiffAction _updateDeviceOrientationWithSettingObserverContext:canvas:transitionContext:]_block_invoke + 85 [ERROR] 44 UIKit 0x0000000104fe1d78 _performChangesWithTransitionContext + 613 [ERROR] 45 UIKit 0x0000000104e7b5fc -[_UICanvasDeviceOrientationSettingsDiffAction _updateDeviceOrientationWithSettingObserverContext:canvas:transitionContext:] + 250 [ERROR] 46 UIKit 0x0000000104e7b48f __133-[_UICanvasDeviceOrientationSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 112 [ERROR] 47 UIKit 0x0000000104fe1b06 _performActionsWithDelayForTransitionContext + 100 [ERROR] 48 UIKit 0x0000000104e7b3db -[_UICanvasDeviceOrientationSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 173 [ERROR] 49 UIKit 0x0000000104b5cb25 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392 [ERROR] 50 UIKit 0x0000000104997b06 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 509 [ERROR] 51 FrontBoardServices 0x0000000114eab723 __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke.362 + 205 [ERROR] 52 libdispatch.dylib 0x000000010f2dc1ba _dispatch_client_callout + 8 [ERROR] 53 libdispatch.dylib 0x000000010f2e1468 _dispatch_block_invoke_direct + 324 [ERROR] 54 FrontBoardServices 0x0000000114edf498 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24 [ERROR] 55 FrontBoardServices 0x0000000114edf14e -[FBSSerialQueue _performNext] + 464 [ERROR] 56 FrontBoardServices 0x0000000114edf6bd -[FBSSerialQueue _performNextFromRunLoopSource] + 45 [ERROR] 57 CoreFoundation 0x000000010cb8c101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 [ERROR] 58 CoreFoundation 0x000000010cc2bf71 __CFRunLoopDoSource0 + 81 [ERROR] 59 CoreFoundation 0x000000010cb70a19 __CFRunLoopDoSources0 + 185 [ERROR] 60 CoreFoundation 0x000000010cb6ffff __CFRunLoopRun + 1279 [ERROR] 61 CoreFoundation 0x000000010cb6f889 CFRunLoopRunSpecific + 409 [ERROR] 62 GraphicsServices 0x0000000110fc49c6 GSEventRunModal + 62 [ERROR] 63 UIKit 0x00000001043bf5d6 UIApplicationMain + 159 [ERROR] 64 myapp 0x00000001033e1764 main + 100 [ERROR] 65 libdyld.dylib 0x000000010f350d81 start + 1 -- End simulator log ---------------------------------------------------------