I am currently trying to show Routes in my app, but I get [UserSession] maps short session requested but session sharing is not enabled in the console. I separated the MapView and calculation of the route in different structs / classes, so that might be the reason. I never heard of the UserSession
[UserSession] maps short session requested but session sharing is not enabled
I have seen people online say this is a bug in iOS 15 / Xcode but I have not found any solution or explanation for what this error means.
FWIW, this error appears every time I use getDirections but does not impede the return of results. I was stumped by it, too, until I listed the steps resulting from calling getDirections and saw that they were complete and correct.
The error (warning) itself appears to be internal to Apple's MKDirections framework and not a result of our code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With