Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Session sharing is not enabled | Swift

Tags:

swift

mapkit

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.

like image 315
John Avatar asked Jul 04 '26 19:07

John


1 Answers

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.

like image 88
Andrew Avatar answered Jul 06 '26 10:07

Andrew