Why I get the console warning: [Process] kill() returned unexpected error 1 when I load a WKWebView in iOS13.2?

前端 未结 7 1579
执念已碎
执念已碎 2020-11-28 17:42

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 objec

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-28 18:02

    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!

提交回复
热议问题