在 iPad/iPhone (iOS 17.4) 中应用程序在启动时崩溃

问题描述 投票:0回答:1

当我尝试在 iOS 17.4 上安装应用程序时,我遇到了一个问题,应用程序在启动时崩溃。 FIRDLJavaScriptExecutor 文件发生崩溃,我还将 firebase pod 更新到最新版本。甚至也同样崩溃了。

出现此错误。

ios objective-c firebase wkwebview launch
1个回答
0
投票

我在 iOS 版本 17.4.1 上也遇到了同样的问题。由于不调试时不会出现这种情况,这似乎是 Xcode 中的一个错误。

-- 来自 FirebaseDynamicLinks 的 FIRDLJavaScriptExecutor 的一部分 --

NSString *htmlContent = [NSString stringWithFormat:@"<html><head><script>%@</script></head></html>", _script];

_wkWebView = [[WKWebView alloc] init];
_wkWebView.navigationDelegate = self;
[_wkWebView loadHTMLString:htmlContent baseURL:nil];
© www.soinside.com 2019 - 2024. All rights reserved.