WKWebView crashes on iOS 26 with EXC_BAD_ACCESS

Hi,

I have an app that uses WKWebView and it's crashing on iOS 26 Simulator in places I've never had problems before. In this case it's crashing when calling WKWebView.callAsyncJavaScript, but in my other project WKWebView is crashing with some sort of EXC_BAD_ACCESS other than callAsyncJavaScript.

Am I missing something?

Thanks,

Answered by darkpaw in 843479022

If it's fine on the device, then you should raise it as a bug in the Simulator at: https://feedbackassistant.apple.com/

Please don't post screenshots of errors. They cannot be searched for, so if this post gets a solution someone with the same error will not be able to find it.

Have you debugged your code?

Turned out the problem doesn't occur on the actual device running iOS 26. Maybe they will fix the Simulator in the future beta.

If it's fine on the device, then you should raise it as a bug in the Simulator at: https://feedbackassistant.apple.com/

WKWebView crashes on iOS 26 with EXC_BAD_ACCESS
 
 
Q