SDK Crash : DefaultLocationProvider.swift - Attempted to read an unowned reference but object was already deallocated
Environment
- Xcode version: Compiled with 15.0
- iOS version: 17.4.1
- Devices affected: iPhone 12
- Maps SDK Version: Attached in the following screenshot 👇🏻
Observed behavior and steps to reproduce
- Just play with the SDK using the
SearchEnginefeature. The crash has only occurred for 1 user so far. It hasn't happened frequently enough to be significant... (For now)
Expected behavior
No crash. Should use weak or handle the unowned references in a proper way.
Additional links and references
Hi @juansanzone --
Thanks for sharing this report. There have been a number of updates to these packages. Please try adopting the latest minor version updates (see below) and verify if you are still seeing this crash:
Navigation: v2.18.0 Maps: v10.17.0 Search: v1.0.0-rc.9 -Note that Search is still in release candidate phase.
In the long term for Navigation and Maps, I'd recommend updating to the latest major versions: Navigation v3.0.1 and Maps v11.3.0. As these are major version bumps there may be breaking changes to your code.
Hi @juansanzone --
Thanks for sharing this report. There have been a number of updates to these packages. Please try adopting the latest minor version updates (see below) and verify if you are still seeing this crash:
Navigation: v2.18.0
Maps: v10.17.0
Search: v1.0.0-rc.9
-Note that Search is still in release candidate phase.
In the long term for Navigation and Maps, I'd recommend updating to the latest major versions: Navigation v3.0.1 and Maps v11.3.0. As these are major version bumps there may be breaking changes to your code.
Thank u!! I will try to update and test. Also I will discuss with my dev team and back to you. Thanks !