我在UIWebView
内遇到以下崩溃。我不知道如何处理它,因为我认为它是由第三方ADS库引起的。这是堆栈跟踪:
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x185cbc824 cache_getImp + 4
1 libobjc.A.dylib 0x185cb17c4 lookUpImpOrForward + 356
2 libobjc.A.dylib 0x185cbc758 _objc_msgSend_uncached + 56
3 UIKit 0x18fd9f904 -[_UIWebViewScrollViewDelegateForwarder forwardInvocation:] + 168
4 CoreFoundation 0x1867993f0 ___forwarding___ + 624
5 CoreFoundation 0x18667f0dc _CF_forwarding_prep_0 + 92
6 UIKit 0x18fbf1978 -[UIScrollView _getDelegateZoomView] + 116
7 UIKit 0x18fbf1810 -[UIScrollView _zoomScaleFromPresentationLayer:] + 44
8 UIKit 0x18fbf17c0 -[UIWebDocumentView _zoomedDocumentScale] + 56
9 UIKit 0x18fbf13f8 -[UIWebDocumentView _layoutRectForFixedPositionObjects] + 104
10 UIKit 0x18fbf1274 -[UIWebDocumentView _updateFixedPositionedObjectsLayoutRectUsingWebThread:synchronize:] + 60
11 UIKit 0x18fbf1218 -[UIWebBrowserView _updateFixedPositioningObjectsLayoutAfterVisibleGeometryChange] + 60
12 UIKit 0x18fbf0a14 -[UIWebDocumentView _setDocumentScale:] + 500
13 UIKit 0x18fbf0310 -[UIWebDocumentView viewportHandlerDidChangeScales:] + 328
14 UIKit 0x18fbefbb0 -[_UIWebViewportHandler update:] + 352
15 UIKit 0x18fcf47a8 -[UIWebDocumentView _setDocumentType:overrideCustomConfigurations:viewportArguments:] + 104
16 UIKit 0x18fbf6ca4 -[UIWebDocumentView webView:didCommitLoadForFrame:] + 836
17 CoreFoundation 0x18679b6a0 __invoking___ + 144
18 CoreFoundation 0x18667a820 -[NSInvocation invoke] + 292
19 CoreFoundation 0x18667f22c -[NSInvocation invokeWithTarget:] + 60
20 WebKitLegacy 0x18f80d938 -[_WebSafeForwarder forwardInvocation:] + 156
21 CoreFoundation 0x1867993f0 ___forwarding___ + 624
22 CoreFoundation 0x18667f0dc _CF_forwarding_prep_0 + 92
23 CoreFoundation 0x18679b6a0 __invoking___ + 144
24 CoreFoundation 0x18667a820 -[NSInvocation invoke] + 292
25 WebCore 0x18e4d16a0 HandleDelegateSource(void*) + 108
26 CoreFoundation 0x18673c358 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
27 CoreFoundation 0x18673c2d8 __CFRunLoopDoSource0 + 88
28 CoreFoundation 0x18673bb60 __CFRunLoopDoSources0 + 204
29 CoreFoundation 0x186739738 __CFRunLoopRun + 1048
30 CoreFoundation 0x18665a2d8 CFRunLoopRunSpecific + 436
31 GraphicsServices 0x1884ebf84 GSEventRunModal + 100
32 UIKit 0x18fc07880 UIApplicationMain + 208
对此的任何建议都非常有帮助。喜欢如何调试此问题?可能是哪里出问题了?