Posts

Post not yet marked as solved
5 Replies
5.0k Views
I'm developing an iOS application in Swift. My WKWebview is crashing on iOS 13. I am using a web view inside a UIScrollView. Crashlyics showing me crash on WebCore -[WAKView addSubview:]. Here is my app crash reportFatal Exception: NSInvalidArgumentException 0 CoreFoundation 0x19c91180c __exceptionPreprocess 1 libobjc.A.dylib 0x19c639fa4 objc_exception_throw 2 CoreFoundation 0x19c967350 -[__NSCFString characterAtIndex:].cold.1 3 CoreFoundation 0x19c968ba4 -[__NSSetM addObject:].cold.2 4 CoreFoundation 0x19c7edf60 -[__NSSetM addObject:] 5 WebCore 0x1a4433fc4 -[WAKView addSubview:] 6 WebKitLegacy 0x1a87dc6e4 -[WebFrameView(WebInternal) _setDocumentView:] 7 WebKitLegacy 0x1a88ad3d4 -[WebFrameView(WebInternal) _makeDocumentViewForDataSource:] 8 WebKitLegacy 0x1a88aa42c WebFrameLoaderClient::transitionToCommittedForNewPage() 9 WebCore 0x1a55da774 WebCore::FrameLoader::transitionToCommitted(WebCore::CachedPage*) 10 WebCore 0x1a55d9f10 WebCore::FrameLoader::commitProvisionalLoad() 11 WebCore 0x1a55b3d14 WebCore::DocumentLoader::finishedLoading() 12 WebCore 0x1a563a7c8 WebCore::CachedResource::checkNotify() 13 WebCore 0x1a5638784 WebCore::CachedRawResource::finishLoading(WebCore::SharedBuffer*) 14 WebCore 0x1a560d7dc WebCore::SubresourceLoader::didFinishLoading(WebCore::NetworkLoadMetrics const&) 15 WebCore 0x1a5605ab0 WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*) 16 WebCore 0x1a5dea6e0 ***::Detail::CallableWrapper<-[WebCoreResourceHandleAsOperationQueueDelegate connectionDidFinishLoading:]::$_7, void>::call() 17 JavaScriptCore 0x1ab5de6bc ***::dispatchFunctionsFromMainThread() 18 Foundation 0x19ccfa24c __NSThreadPerformPerform 19 CoreFoundation 0x19c88f7c4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 20 CoreFoundation 0x19c88f71c __CFRunLoopDoSource0 21 CoreFoundation 0x19c88eeb4 __CFRunLoopDoSources0 22 CoreFoundation 0x19c88a000 __CFRunLoopRun 23 CoreFoundation 0x19c8898a0 CFRunLoopRunSpecific 24 WebCore 0x1a4823b60 RunWebThread(void*) 25 libsystem_pthread.dylib 0x19c62e1d0 _pthread_start 26 libsystem_pthread.dylib 0x19c631ae0 thread_start
Posted Last updated
.