Posts

Post not yet marked as solved
2 Replies
3.5k Views
Querying an element sometimes freezez the UI test for 60 seconds. This happens randomly and works correctly after waiting for 60 seconds. t = 9.14s Find the Window t = 70.20s Find the Window (retry 1)from the console log, seems like XCUITest can't find the window.
Posted
by tspop56.
Last updated
.
Post not yet marked as solved
2 Replies
2.1k Views
Hello,I'm having a rare webkit related crash in my app, happens in 0.01% of all sessions last week but represents 30% of all crashes my app is getting.Unfortunately all I have for investigating the issue is data from hockeyapp crash reporting, I can't reproduce it locally.My app uses webviews to display content but also includes Google Admob and mediation partners which AFAIK use webviews for running some JS.Would appreciate any advice on what I could do to track down this crash.The crash has the following stacktrace.It only happens on iOS 11 from what I can tell.objc_msgSend() selector name: _isValidThread 0 Crashed:1 libobjc.A.dylib objc_msgSend + 162 WebKit __57-[WKWebView _addUpdateVisibleContentRectPreCommitHandler]_block_invoke + 283 QuartzCore CA::Transaction::run_commit_handlers(CATransactionPhase) + 604 QuartzCore CA::Context::commit_transaction(CA::Transaction*) + 13365 QuartzCore CA::Transaction::commit() + 5366 QuartzCore CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 887 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 288 CoreFoundation __CFRunLoopDoObservers + 4089 CoreFoundation __CFRunLoopRun + 128810 CoreFoundation CFRunLoopRunSpecific + 43211 GraphicsServices GSEventRunModal + 9612 UIKit UIApplicationMain + 20413 <Redacted> (AppDelegate.swift:18)14 libdyld.dylib start + 0
Posted
by tspop56.
Last updated
.