stack:
*** Assertion failure in -[UITextEffectsWindow setScreen:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore/UIKit-3698.103.12/UIWindow.m:4668
2019-05-13 20:19:08.212 [2697:2209123] ERROR UncaughtExceptionHandler.m -[UncaughtExceptionHandler handleException:] <56>:
=============== Exception Info ===============
Exception Name: NSInternalInconsistencyException
Exception Reason: Attempting to attach a window (<UITextEffectsWindow: 0x120a0a400; frame = (0 0; 320 480); hidden = YES; layer = <UIWindowLayer: 0x281bc2ce0>>) to a screen with a nil FBSDisplayIdentity
Exception Call Stack: (
0 CoreFoundation 0x00000001e725c530 <redacted> + 252
1 libobjc.A.dylib 0x00000001e64379f8 objc_exception_throw + 56
2 CoreFoundation 0x00000001e7176148 <redacted> + 0
3 Foundation 0x00000001e7c391c8 <redacted> + 112
4 UIKitCore 0x00000002137e3dfc <redacted> + 2416
5 UIKitCore 0x0000000213a6ab4c <redacted> + 272
6 UIKitCore 0x0000000213b12ef4 <redacted> + 648
7 UIKitCore 0x0000000213a6c5b0 <redacted> + 636
8 UIKitCore 0x0000000213a6c730 <redacted> + 160
9 AccessibilityUIUtilities 0x00000001f8732858 AXUIAllKeyboardWindows + 72
10 AccessibilityUIUtilities 0x00000001f873302c AXUIKeyboardIsOnScreen + 108
11 AccessibilitySettingsLoader 0x0000000206f995f8 <redacted> + 24
12 AccessibilitySettingsLoader 0x0000000206f99cd4 <redacted> + 40
13 libdispatch.dylib 0x00000001e6c9d7d4 <redacted> + 16
14 libdispatch.dylib 0x00000001e6c74c34 <redacted> + 404
15 libdispatch.dylib 0x00000001e6c84800 <redacted> + 1232
16 libdispatch.dylib 0x00000001e6c7d8d4 <redacted> + 736
17 CoreFoundation 0x00000001e71edec0 <redacted> + 12
18 CoreFoundation 0x00000001e71e8df8 <redacted> + 1924
19 CoreFoundation 0x00000001e71e8354 CFRunLoopRunSpecific + 436
20 GraphicsServices 0x00000001e93e879c GSEventRunModal + 104
21 UIKitCore 0x000000021379fb68 UIApplicationMain + 212
22 SmartHome 0x0000000103a94358 SmartHome + 20267864
23 libdyld.dylib 0x00000001e6cae8e0 <redacted> + 4
)
"runtime" : "0.2746",
"crashType" : "NSInternalInconsistencyException",
"ckey" : "8763525835281188904",
"cline" : "",
"cmodule" : "",
"creason" : "Attempting to attach a window (<UITextEffectsWindow: 0x11a43a600; frame = (0 0; 320 480); hidden = YES; layer = <UIWindowLayer: 0x281c9a140>>) to a screen with a nil FBSDisplayIdentity"
This issue was only occured in iOS12.x.