自从我安装iOS 13.2 beta以来,我一直收到调试控制台错误消息。每当我在情节提要中加载带有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视图控制器中是否都发生了这种情况,因此这似乎不是代码错误。
这不会使应用程序崩溃,但我想知道为什么会这样,以及是否有人遇到相同的问题。