Мое приложение написано на 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
ОБНОВЛЕНИЕ Похоже, это прекратилось в iOS 17, поэтому, скорее всего, это была внутренняя проблема iOS.
Подробнее здесь: https://stackoverflow.com/questions/726 ... doesnt-own
Мобильная версия