我的应用程序出现问题,引发了“NSInternalInconsistencyException”。根据Crashlytics的说法,触发此功能的函数是 _prepareForCAFlush 。
不幸的是,我们无法检测到可能出现的问题(错误无法再现)。有没有人遇到过这种崩溃?这是堆栈跟踪。
Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x1e140df7 __exceptionPreprocess
1 libobjc.A.dylib 0x1d3a3077 objc_exception_throw
2 CoreFoundation 0x1e140cd1 +[NSException raise:format:]
3 Foundation 0x1ea3b987 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:]
4 UIKit 0x23465ea1 _prepareForCAFlush
5 UIKit 0x2348347f _beforeCACommitHandler
6 CoreFoundation 0x1e0fbf15 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
7 CoreFoundation 0x1e0fa191 __CFRunLoopDoObservers
8 CoreFoundation 0x1e0fa5a7 __CFRunLoopRun
9 CoreFoundation 0x1e049533 CFRunLoopRunSpecific
10 CoreFoundation 0x1e049341 CFRunLoopRunInMode
11 GraphicsServices 0x1f820bfd GSEventRunModal
12 UIKit 0x23251e67 -[UIApplication _run]
13 UIKit 0x2324c591 UIApplicationMain
14 App 0xc4d9a4 main (AppDelegate.swift:22)
15 libdispatch.dylib 0x1d81350b (Missing)