Skip to content

Instantly share code, notes, and snippets.

@jpsim
Created November 14, 2023 03:53
Show Gist options
  • Save jpsim/207f5b3a5d2ba34a10f6fb7bba19f6cb to your computer and use it in GitHub Desktop.
Save jpsim/207f5b3a5d2ba34a10f6fb7bba19f6cb to your computer and use it in GitHub Desktop.
FB13279397
NSInternalInconsistencyException: Call must be made on main thread
0 CoreFoundation 0x196c40cb4 __exceptionPreprocess + 164 (NSException.m:202)
1 libobjc.A.dylib 0x18fcd83d0 objc_exception_throw + 60 (objc-exception.mm:356)
2 Foundation 0x1913ce54c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 188 (NSException.m:242)
3 UIKitCore 0x1999f3da0 -[UIApplication _performBlockAfterCATransactionCommitSynchronizes:] + 404 (UIApplication.m:3377)
4 UIKitCore 0x199a00318 -[UIApplication _updateStateRestorationArchiveForBackgroundEvent:saveState:exitIfCouldNotRestoreState:updateSnapshot:windowScene:] + 528 (UIApplication.m:11822)
5 UIKitCore 0x199a005dc -[UIApplication _updateSnapshotAndStateRestorationWithAction:windowScene:] + 144 (UIApplication.m:11867)
6 <REDACTED> 0x104bbbc04 @objc closure #1 in <REDACTED>.userNotificationCenter(_:didReceive:) + 88 (<compiler-generated>:0)
7 <REDACTED> 0x104bbd9f9 partial apply for @objc closure #1 in <REDACTED> + 1 (<compiler-generated>:0)
8 <REDACTED> 0x104bbde55 thunk for @escaping @callee_guaranteed @Sendable @async () -> () + 1
9 <REDACTED> 0x104bbde59 partial apply for thunk for @escaping @callee_guaranteed @Sendable @async () -> () + 1
10 <REDACTED> 0x104bbbe55 specialized thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) + 1 (<compiler-generated>:0)
11 <REDACTED> 0x104bbdbc9 partial apply for specialized thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) + 1 (<compiler-generated>:0)
12 libswift_Concurrency.dylib 0x1a1002dd9 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1 (Task.cpp:496)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment