I am using background task to run the timer in the background to update the user\'s location. It\'s declared as:
UIBackgroundTaskIdentifier bgTask;
>
I had the same issue and figured out the cause and solution!
Apple has fixed this issue in iOS 13.4 GM though I have workaround for the earlier versions.
While you should embrace using scenes when your app is run under iOS 13 and later, you can fully opt-out while you still support iOS 12 or earlier.
Application Scene Manifest” entry from Info.plist.var window: UIWindow? to your app delegate.Happy coding!