自从我安装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

如果我touch 屏幕,它会再次启动

    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的视图控制器,所以这似乎不是代码错误.

这是doesn't crash the app,但我想知道为什么会发生这种情况,是否有其他人也有同样的问题.

推荐答案

这是WebKit(或底层操作系统本身)的错误. 不,它在13.[2,3]版本中是not修复的.

见:


更新:

它在13.4版本中被修复.

Ios相关问答推荐

如何使用超薄material ,但没有浅色/填充?

如何将模糊输入/模糊输出添加到SwiftUI中的非对称过渡?

Xcode 15中的版本控制发生了什么?

mapView swift 导致警告有网格错误

如何结合`@dynamicMemberLookup`和`ExpressibleByStringInterpolation`来实现方法链?

Apple Metal iOS 为什么 GLKMatrix4MakeLookAt 来回摇摆

在 Swift 中使用 UITesting 捕获屏幕录像

XCode 14 Beta 中 NavigationStack 的正文渲染问题

滑动以返回特定的 SwiftUI 视图

UIImageView 使用 CGAffineTransform 错误旋转

向左或向右移动时如何水平翻转sprite?

Flutter 错误:CocoaPods not installed or not in valid state.

如何快速设置条形按钮的图像?

在 UICollectionView 上动态设置布局导致莫名其妙的 contentOffset 变化

Xcode 故事板:内部错误.请提交错误

UIView 和 initWithFrame 以及一个 NIB 文件.如何加载 NIB 文件?

在 Xcode 4 中将静态库链接到 iOS 项目

Xcode:此时无法安装此应用程序.

使用 swift 3 在 UIView 上添加阴影

如何为 NSDate 添加一个月?