以下是Xcode工具的堆栈跟踪。谁能帮我找到问题。我无法从下面的堆栈跟踪中找出来。有时,应用程序在运行时由于堆栈跟踪相同而崩溃
0 libsystem_malloc.dylib malloc_zone_malloc
1 libsystem_malloc.dylib malloc
2 libc++abi.dylib operator new(unsigned long)
3 libswiftCore.dylib swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::formWeakReference()
4 libswiftCore.dylib swift_weakInit
5 xyz-dev HomeScreenInteractorImpl.requestAppConfig() /Development/ABC-iOS/xyz/Application/NewHome/Scene/HomeScreenInteractor.swift:130
6 xyz-dev protocol witness for HomeScreenInteractor.requestAppConfig() in conformance HomeScreenInteractorImpl /Development/ABC-iOS/<compiler-generated>:0
7 xyz-dev HomeScreenPresenterImpl.configureHome() /Development/ABC-iOS/xyz/Application/Scene/HomeScreenPresenter.swift:165
8 xyz-dev HomeScreenPresenterImpl.onViewDidLoad() /Development/ABC-iOS/xyz/Application/Scene/HomeScreenPresenter.swift:508
9 xyz-dev protocol witness for HomeScreenPresenter.onViewDidLoad() in conformance HomeScreenPresenterImpl /Development/ABC-iOS/<compiler-generated>:0
10 xyz-dev HomeScreenViewController.viewDidLoad() /Development/ABC-iOS/xyz/Application/Scene/HomeScreenViewController.swift:78
11 xyz-dev @objc HomeScreenViewController.viewDidLoad() /Development/ABC-iOS/<compiler-generated>:0
12 UIKit -[UIViewController loadViewIfRequired]
13 UIKit -[UINavigationController _updateScrollViewFromViewController:toViewController:]
14 UIKit -[UINavigationController _startTransition:fromViewController:toViewController:]
15 UIKit -[UINavigationController _startDeferredTransitionIfNeeded:]
16 UIKit -[UINavigationController __viewWillLayoutSubviews]
17 UIKit -[UILayoutContainerView layoutSubviews]
18 UIKit -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
19 QuartzCore -[CALayer layoutSublayers]
20 QuartzCore CA::Layer::layout_if_needed(CA::Transaction*)
21 QuartzCore CA::Context::commit_transaction(CA::Transaction*)
22 QuartzCore CA::Transaction::commit()
23 UIKit __34-[UIApplication _firstCommitBlock]_block_invoke_2
24 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__
25 CoreFoundation __CFRunLoopDoBlocks
26 CoreFoundation __CFRunLoopRun
27 CoreFoundation CFRunLoopRunSpecific
28 GraphicsServices GSEventRunModal
29 UIKit UIApplicationMain
30 xyz-dev main /Development/ABC-iOS/main.m:13
31 libdyld.dylib start
无法弄清
修复内存泄漏和运行时崩溃