In iOS 18, we use CLLocationUpdate.liveUpdates to resume location updates after the app has been terminated. While the app successfully relaunches and I attempt to restart CLLocationUpdate.liveUpdates, the updates frequently come with the insufficientlyInUse flag set to true. At the same time, the locationUnavailable flag is false, but the location value remains nil.
Could you clarify what the insufficientlyInUse option indicates and why the location updates are not returning valid data?
Our engineering teams need to investigate this issue, as this might indicate an issue with iOS 18.
We'd greatly appreciate it if you could open a bug report, include crash logs and sample code or models that reproduce the issue, and post the FB number here once you do.
For this issue we will need a debug log from the device. If you could please go to https://developer.apple.com/bug-reporting/profiles-and-logs/ and follow the instructions for Location Services for iOS to install a logging profile on your device. Then reproduce the issue, and follow the instructions at the above link to create a sysdiagnose. And attach that to the Feedback report as well.
Bug Reporting: How and Why? has tips on creating a successful bug report.
Argun Tekant / DTS Engineer / Core Technologies