Since I installed the iOS 13.2 beta, I have been getting a debug console error message. It happens every time I load a ViewController with a WKWebView object in the storyboard.
Then the following message is shown continuously while the web view is visible ...
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
At the moment I close the view I get the following message:
2019-10-10 12:32:41.577505+0200 (...)[ProcessSuspension] 0x1051e50b0 - ProcessAssertion::processAssertionWasInvalidated()
Sometimes I get the following message in the middle while the web view is loaded: (I can't say when it happens)
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
And the if I touch the screen it starts again
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 ...
I have checked that this is happening in all of the view controllers with WKWebViews of my app, so it doesn't seem to be a code error.
This doesn't crash the app, but I would like to know why this is happening, and if someone else is having the same issue.
It's a bug in WebKit (or the underlying OS itself). And no, it was not fixed in 13.[2,3] release.
see:
Update:
It's fixed in 13.4 release.
As in the accepted answer, this is a WebKit bug and it seems that it has been fixed but not released up until the latest iOS release 13.2.2 (at the time of writing this answer) has been fixed in iOS 13.4.
As a workaround, however, you can disable/hide the logs temporarily as mentioned in an answer by @iDevzilla:
1- From Xcode menu open: Product > Scheme > Edit Scheme
2- On your Environment Variables set OS_ACTIVITY_MODE
= disable
This will ONLY hide the logs so you can continue developing and testing on iOS. As some indicated, this problem crashes their apps no matter what (for me it is not until now). Also, be careful using this method as it might hide important error messages!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With