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 controller with WKWebViews of my app, so it doesn't seems 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.
I will pre-admit this is a terrible "answer" but it is a valid observation. This has something to do with sandboxing. If you rebuild your app without a sandbox, there are no messages. If you turn on the sandbox and enable Outgoing Connections which is all I need for my app, every mouse event in the webkit gives me the unhappy message.
If I also include Incoming Connections, just as a test, same messages.
Remove the sandbox (for an internal use only app), no stupid messages. Perhaps this observation will help someone at Apple track this problem down some more.