iOS Question Task in Background stop the application.

Raúl Cos Ortiz

New Member
Licensed User
Hi,

please. Could you help. I.ve been looking the problem and 1 or 2minutes after application in background, the application break.

In the log, I can see that message.

Can't end BackgroundTask: no background task exists with identifier 1027 (0x403), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.

Thank you for your help.

Raúl.
 

Attachments

  • Screenshot_1.jpg
    95.8 KB · Views: 950

nicieri

Active Member
Licensed User
Longtime User
The app terminates in exactly the same time as with debug, 30 seconds after being sent to the background.
 
Upvote 0

nicieri

Active Member
Licensed User
Longtime User
It's related to some 'startMonitoringSignificantLocationChanges' instruction or something else, because it's removed when you stop it. Even in debug, the logs can last for hours.

The problem is also related to the 'pausesLocationUpdatesAutomatically' command.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…