2 Replies
      Latest reply on May 7, 2019 3:10 AM by PradipWAlghude
      PradipWAlghude Level 1 Level 1 (0 points)

        Starting from iOS 12 the CLLocationManager doesn't run endless anymore in the background. The app get's terminated without a crashlog at random times. This was working fine before iOS 12.


        The demo app just launches an CLLocationManager and keep this running in the background. While running on the background we keep track of it by logging it. The problem is that the app get terminated by iOS. The demo app is created to demonstrate this problem.

        Steps to reproduce

        1. Run the app on the device
        2. Grand access to locationmanager
        3. Put the app to the background
        4. Wait for 1-48hours


        1. The app is terminated

        App is terminated without any reason after random time.Expected result:

        1. The app is still running