Skip to content

Commit 974e06e

Browse files
committed
Update to Mapbox Navigation v2.5.1. Fix build error.
1 parent 039bf04 commit 974e06e

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

Navigation-Examples/Examples/Custom-RoutingProvider.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ class CustomProvider: RoutingProvider {
109109
return routeCalculator.calculateRoutes(options: options,
110110
completionHandler: { [weak self] (session, result) in
111111
switch result {
112-
case .failure(_):
112+
case .failure(let error):
113+
print(error.localizedDescription)
113114
completionHandler(session, result)
114115
case .success(let response):
115116
guard let strongSelf = self else {

Podfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ PODS:
22
- MapboxCommon (21.3.0)
33
- MapboxCoreMaps (10.5.1):
44
- MapboxCommon (~> 21.3)
5-
- MapboxCoreNavigation (2.5.0):
5+
- MapboxCoreNavigation (2.5.1):
66
- MapboxDirections (~> 2.5.0)
77
- MapboxMobileEvents (~> 1.0)
8-
- MapboxNavigationNative (~> 101.0)
8+
- MapboxNavigationNative (< 102.0.0, >= 101.0.1)
99
- MapboxDirections (2.5.0):
1010
- Polyline (~> 5.0)
1111
- Turf (~> 2.0)
@@ -15,13 +15,13 @@ PODS:
1515
- MapboxMobileEvents (= 1.0.7)
1616
- Turf (~> 2.0)
1717
- MapboxMobileEvents (1.0.7)
18-
- MapboxNavigation (2.5.0):
19-
- MapboxCoreNavigation (= 2.5.0)
18+
- MapboxNavigation (2.5.1):
19+
- MapboxCoreNavigation (= 2.5.1)
2020
- MapboxMaps (~> 10.5)
2121
- MapboxMobileEvents (~> 1.0)
2222
- MapboxSpeech (~> 2.0)
2323
- Solar-dev (~> 3.0)
24-
- MapboxNavigationNative (101.0.0):
24+
- MapboxNavigationNative (101.0.1):
2525
- MapboxCommon (~> 21.3)
2626
- MapboxSpeech (2.0.0)
2727
- Polyline (5.0.2)
@@ -50,12 +50,12 @@ SPEC REPOS:
5050
SPEC CHECKSUMS:
5151
MapboxCommon: a336e40b53e3fda5c419fe093c9c40aff4f4dd2b
5252
MapboxCoreMaps: f0c995b043323571ec46d7d9e496390982f6509d
53-
MapboxCoreNavigation: 5714160c82d691003513012012f9fb380a7b0d82
53+
MapboxCoreNavigation: dac1bf2a8805c1e3a74928600c144a3339adf578
5454
MapboxDirections: a5ca101fe80e5f39dfe38e4d5131572890d797c4
5555
MapboxMaps: e85375aa3d6bea94bf9c0221aa59f35ee0b29f29
5656
MapboxMobileEvents: f7f3e8daeb4b83688ae62a4172dce79169a97233
57-
MapboxNavigation: 49619e04350a460bc8b54874e52e3a4abc417d7c
58-
MapboxNavigationNative: 2616c3107613454b3bedf1e54798e42e318d875c
57+
MapboxNavigation: 1f184e88f68c15e6626e6fb97d023d1499fc34a7
58+
MapboxNavigationNative: 059e1ec9ee335896b9b3186a93a881bf31a70bb7
5959
MapboxSpeech: e4ed02984444b6373374c72c369edaf045cc490c
6060
Polyline: fce41d72e1146c41c6d081f7656827226f643dff
6161
Solar-dev: 4612dc9878b9fed2667d23b327f1d4e54e16e8d0

0 commit comments

Comments
 (0)