返回

iOS Swift app-SIGABRT:无法从没有't拥有它

发布时间:2022-08-26 13:47:17 353
# android

自iOS 15.5以来,我从我的应用程序接收到大量崩溃日志,其中没有特定于应用程序的代码。

我的应用程序是用Swift编写的。

错误显示

SIGABRT:无法从不拥有它的活页夹中驱逐可绑定

符号化的崩溃日志如下

CoreFoundation  __exceptionPreprocess + 220
libobjc.A.dylib objc_exception_throw + 56
Foundation  -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 200
UIKitCore   -[_UIContextBinder expellBindable:] + 384
UIKitCore   -[UIWindowScene _detachWindow:] + 264
UIKitCore   -[_UIScreenBasedWindowScene _detachWindow:] + 48
UIKitCore   -[UIWindowScene _attachWindow:] + 116
UIKitCore   -[UIWindow _setWindowHostingScene:] + 252
UIKitCore   -[UIWindow setWindowScene:] + 216
UIKitCore   _UIApplicationSceneConnectionHandler_block_invoke + 980
UIKitCore   +[UIScene _sceneForFBSScene:create:withSession:connectionOptions:] + 1060
UIKitCore   -[UIApplication _connectUISceneFromFBSScene:transitionContext:] + 1252
UIKitCore   -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 340
UIKitCore   -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 384
FrontBoardServices  -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 436
FrontBoardServices  __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.215 + 124
FrontBoardServices  -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 236
FrontBoardServices  __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 368
libdispatch.dylib   _dispatch_client_callout + 16
libdispatch.dylib   _dispatch_block_invoke_direct + 260
FrontBoardServices  __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 44
FrontBoardServices  -[FBSSerialQueue _targetQueue_performNextIfPossible] + 216
FrontBoardServices  -[FBSSerialQueue _performNextFromRunLoopSource] + 24
CoreFoundation  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
CoreFoundation  __CFRunLoopDoSource0 + 204
CoreFoundation  __CFRunLoopDoSources0 + 264
CoreFoundation  __CFRunLoopRun + 824
CoreFoundation  CFRunLoopRunSpecific + 596
GraphicsServices    GSEventRunModal + 160
UIKitCore   -[UIApplication _run] + 1096
UIKitCore   UIApplicationMain + 360
MyAppModule main (MyEnum.swift:16)
undefined   0x0000000105841ce4

不幸的是,我看不到导致这种情况的具体行为,这似乎是在应用程序启动/恢复或过渡到后台期间查看堆栈的结果。

我如何开始弄清楚到底发生了什么?

这仅从iOS 15.5开始

特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报
评论区(0)
按点赞数排序
用户头像