【发布时间】:2026-02-01 13:00:01
【问题描述】:
自从我安装了 iOS 13.2 测试版,我一直收到调试控制台错误消息。每次我在情节提要中加载带有 WKWebView 对象的 ViewController 时都会发生这种情况。
然后在 web 视图可见的同时持续显示以下消息 ...
2019-10-10 12:10:47.867830+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:47.908698+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:47.908814+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:47.934169+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:47.947668+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:47.964375+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:48.193556+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:48.193723+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:48.193941+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:48.194012+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:48.195679+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:48.200432+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:48.207225+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:48.207298+0200 (...) [Process] kill() returned unexpected error 1
在我关闭视图的那一刻,我收到以下消息:
2019-10-10 12:32:41.577505+0200 (...)[ProcessSuspension] 0x1051e50b0 - ProcessAssertion::processAssertionWasInvalidated()
有时我在加载 web 视图时在中间收到以下消息:(我不能说它何时发生)
2019-10-10 12:33:11.453528+0200 (...) Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
2019-10-10 12:33:11.459713+0200 (...) Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
如果我触摸屏幕,它会再次启动
2019-10-10 12:10:48.200432+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:48.207225+0200 (...) [Process] kill() returned unexpected error 1
2019-10-10 12:10:48.207298+0200 (...) [Process] kill() returned unexpected error 1
...
我已经检查了我的应用程序的所有带有 WKWebViews 的视图控制器中都发生了这种情况,因此这似乎不是代码错误。
这不会使应用崩溃,但我想知道为什么会发生这种情况,以及其他人是否有同样的问题。
【问题讨论】:
-
iOS 13.2 版本对我来说同样的问题。我总是有点担心没有更多的报道。总是让我觉得我做错了什么。这似乎是一个相当大的问题。 forums.developer.apple.com/thread/123782
-
我在 Catalina 10.15.1 和 Xcode 11.2 上的 AppKit 和 WebKit 有同样的问题
-
同样的问题。我测试了不同的应用程序。一些具有 ionic 3 的应用程序直接崩溃,一些应用程序显示错误但将被打开。但是所有具有 ionic 4 的应用程序都会直接崩溃。我创建了一个全新的 ionic 4 应用程序,但无法启动该应用程序。
-
有没有人看到这个错误发生时网页也没有加载?
-
我在 iOS 13.3.1 中仍然遇到这个问题。
标签: ios objective-c wkwebview ios13