|
// let locationSource: LocationSource = .live() |
This gives an error Enum case 'live' has no associated values and indeed the documentation https://docs.mapbox.com/ios/navigation/api/3.12.0/navigation/documentation/mapboxnavigationcore/locationsource specifies the value as .live and the tutorial shows it as .live https://docs.mapbox.com/help/tutorials/ios-navigation/?step=4
However even changing this to .live is problematic, doing so on the original code here the map loads but seems to be stuck with the rest of the navigation UI. It seems to be sporadic though, simply restarting the app the UI loads fine...

tutorials/ios-navigation/ios-navigation/NavigationLoader.swift
Line 11 in 9c73e21
This gives an error
Enum case 'live' has no associated valuesand indeed the documentation https://docs.mapbox.com/ios/navigation/api/3.12.0/navigation/documentation/mapboxnavigationcore/locationsource specifies the value as.liveand the tutorial shows it as.livehttps://docs.mapbox.com/help/tutorials/ios-navigation/?step=4However even changing this to
.liveis problematic, doing so on the original code here the map loads but seems to be stuck with the rest of the navigation UI. It seems to be sporadic though, simply restarting the app the UI loads fine...