iOS 13.2 kill() returned unexpected error 1

Anyone else getting kill() returned unexpected error 1 on iOS 13.2 with Xcode 11.2 beta 2? I noticed this is only happening on WKWebView on iOS 13.2. Thanks.

Same error here. Only thing I could find is that it’s a WebKit Bug introduced with 13.2 and should be fixed in the next update. https://stackoverflow.com/a/58539626/825444

This is definitely not fixed yet :confused:
There are also little to no information regarding this, besides that stackoverflow issue.

Anyone have any news regarding this? I use Xcode 11.2 / iOS 13.2, and still have this issue.

1 Like

I have the same issu.

I can start some Ionic 3 Apps. But not all. Some of them crash. And every app shows the kill(). But every Ionic 4 App crash. What is the problem and how can I fix it?

i am seeing this as well, I also notice because of the heavy logging it seems to slow my app down compared to one running on iOS 12. Anyone else notice this?

I took the starterApp, applied my iOS signing profile, and built the App. Runs fine in Simulator and gives White Screen of death on Device:

iOS 13.2
Capacitor
ionic 5.4.5

2019-11-06 17:19:38.741038-0700 App[3538:2019445] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/25281468-EC1E-498B-BE1F-7EA4852ED83D/Library/Cookies/Cookies.binarycookies
Loading network plugin
2019-11-06 17:19:38.955233-0700 App[3538:2019445] CAPKeyboard: resize mode - native
⚡️  Loading app at capacitor://localhost...
2019-11-06 17:19:39.060486-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.061055-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.063986-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
Reachable via WiFi
2019-11-06 17:19:39.066418-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
APP ACTIVE
2019-11-06 17:19:39.118240-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.248425-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.248651-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.265636-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.271308-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.271403-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.271460-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.272931-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.274636-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.298679-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
2019-11-06 17:19:39.326550-0700 App[3538:2019445] [Process] kill() returned unexpected error 1
⚡️  WebView loaded
2019-11-06 17:19:39.328315-0700 App[3538:2019445] [Process] kill() returned unexpected error 1

Has anybody tested out the new ios 13.3 beta? I try to install it today. Maybe the bug is fixed…

1 Like

Okay, it is a WKWebView bug.

I created a swift app and load a WKWebView. It doesnt work on ios 13.2
I got the kill() errors. But it works well on my other device with an older version of iOS.

Inside the config.xml file
Has replaced the line

by

And it worked for me

Your XML isn’t showing on the thread. It’s blank, and we can’t see your solution. Could you post it again?

nside the config.xml file
Has replaced the line
preference name=“CordovaWebViewEngine” value=“CDVWKWebViewEngine”

by

preference name = “CordovaWebViewEngine” value = “CDVUIWebViewEngine”

But this is a downgrade to UIWebView. And it is deprecated. I think you shouldnt downgrade to this version.

3 Likes

Today i updated to iOS 13.2.3, but this issue still happens. Is there no other solution but to wait for 13.3 and hope the fix is included there? :confused:

Argh! So frustrating. No one have a fix to this yet? I’m lost.

Hi,
Any solution for this… ??
I do not know what to do? I am unable to run my app in ios?!!

3 Likes

Nothing new on this bug,
I’ve seen Ionic did lock the bug report here: https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/471

Any updates on this case?

still receiving it :frowning:

Hi,

We have an enterprise app developed with Ionic 3. It is distributed via Microsoft Intune. Since iOS 13.2, we have the following:

  • When the app is installed via Intune, it doesn’t load correctly and we get the famous “kill() returned unexpected error 1” log.
  • When the app is installed directly on the device the app works perfectly, althought we get the same error log.

In iOS < 13.2, it works without problems (with or without Intune).

We’ve tried using UIWebview temporarily, nevertheless it’s not a good solution for us because it would requiere too many visual adaptations.

Any suggestion or information about the bug fix date are welcome.

Thank you in advance

Is this error a spam or could it lead to app crash ?
I have the same error and also my app is stuck on the splash screen after i use the cordova-plugin-ionic-webview plugin v2.3.1 in an ionic 3 app.