Reproducing Step: Launch iOS app (Javascript wrapped under Cordova), launch Safari from Mac, debug through web inspector, iOS app crashed immediately with memory issue: WebThread (9): EXC_BAD_ACCESS (code=2, address=0x16b6c2320)
Safari Web Inspector causes iOS app crash
Reproducing Step: Launch iOS app (Javascript wrapped under Cordova), launch Safari from Mac, debug through web inspector, iOS app crashed immediately with memory issue: WebThread (9): EXC_BAD_ACCESS (code=2, address=0x16b6c2320)
the same issue here ,every time is same,I upgraded Macos big sur 11.4 ,safari 14.1.1 and iOS 14.6 JavaScriptCore`invocation function for block in Inspector::RemoteConnectionToTarget::dispatchAsyncOnTarget(***::Function<void ()>&&):
I've resolved this issue by adding the plugin cordova-plugin-wkwebview-engine to my Cordova project and by installing Safari Technology Preview (Safari Beta version) and using its web inspector.
I'm also experiencing this issue. Has it been reported to apple? Any response?