FLEXTool / FLEX

An in-app debugging and exploration tool for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xcode 14 beta2 run FLEX in iOS 16 Crash

talka123456 opened this issue · comments

Environment

  • Platform+version: iOS 16
  • FLEX version: newest

Bug Report

When use FlEX to debug View,did selected finish button to dismiss the FlexExplorerViewController, the func that statusWindow() will crash, the error is:

*** Assertion failure in -[DMAppApplication _statusBarWindow], UIApplication.m:5782
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'The status bar window cannot be accessed from within an application.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001169c1225 __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00000001095a7c6f objc_exception_throw + 48
	2   Foundation                          0x000000010e87abbc _userInfoForFileAndLine + 0
	3   UIKitCore                           0x000000012438e957 -[UIApplication _statusBarWindow] + 120
	4   Foundation                          0x000000010e8bf367 -[NSObject(NSKeyValueCoding) valueForKey:] + 307
	5   FLEX                                0x0000000109782952 -[FLEXExplorerViewController statusWindow] + 130
)

CoreSimulator 842.7 - Device: iPhone 13 (24D04A66-A4FE-4722-B2CE-6C79433A09F5) - Runtime: iOS 16.0 (20A5283p) - DeviceType: iPhone 13