You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to be a runtime bug in iOS that occurs when using Tasks and TaskGroups. There are already several reports in the Swift forum. In previous iOS versions the problem has already been partially fixed by Apple. However, in certain cases and with newer iOS versions it can still occur.
Since only crashes with iOS 18.0.0 are currently being reported, I assume that Apple has already fixed this problem and am closing this issue. In any case, I cannot reproduce the problem with newer iOS versions.
In the meantime, I recommend one of the following two workarounds:
Exclude iOS 18.0.0: I have simply disabled live updates in my apps for devices with iOS 18.0.0. As soon as these devices receive a new iOS version overnight, they will automatically receive live updates again. You can use the Capacitor Device plugin for this.
Downgrade the plugin: Downgrade the Live Update plugin to version 6.4.2. Tasks and TaskGroups are not used there.
Plugin(s)
Version
6.6.0
Platform(s)
Current behavior
The following error occurs on some devices under iOS:
Full stack trace
Expected behavior
No error should occur and the app should not crash.
Reproduction
Steps to reproduce
sync()
methodThis problem only occurs on some devices.
Other information
No response
Capacitor doctor
Before submitting
The text was updated successfully, but these errors were encountered: