Hi, same issue is also happening with other symbols like callAsyncJavaScript:
func callAsyncJavaScript(
_ functionBody: String,
arguments: [String : Any] = [:],
in frame: WKFrameInfo? = nil,
in contentWorld: WKContentWorld,
completionHandler: (@MainActor (Result<Any, any Error>) -> Void)? = nil
)
It works fine for iOS 18.4 runtime, but fails with previous ones when looking for this symbol:
swift demangle '_$sSo9WKWebViewC6WebKitE19callAsyncJavaScript_9arguments2inAF17completionHandlerySS_SDySSypGSo11WKFrameInfoCSgSo14WKContentWorldCys6ResultOyyps5Error_pGcSgtF'
_$sSo9WKWebViewC6WebKitE19callAsyncJavaScript_9arguments2inAF17completionHandlerySS_SDySSypGSo11WKFrameInfoCSgSo14WKContentWorldCys6ResultOyyps5Error_pGcSgtF ---> (extension in WebKit):__C.WKWebView.callAsyncJavaScript(_: Swift.String, arguments: [Swift.String : Any], in: __C.WKFrameInfo?, in: __C.WKContentWorld, completionHandler: ((Swift.Result<Any, Swift.Error>) -> ())?) -> ()
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: