Not compatible with mapbox-maps-ios v11.7 or above
mapbox-maps-ios v11.7 and above depends on turf 3.0.0
.package(url: "https://github.com/mapbox/turf-swift.git", exact: "3.0.0"),
but mapbox-directions-swift depends on turf 2.8.0 < 2.9.0
.package(name: "Turf", url: "https://github.com/mapbox/turf-swift.git", "2.8.0"..<"2.9.0"),
When trying to import these 2 packages, Xcode complains
Showing All Errors Only
Failed to resolve dependencies Dependencies could not be resolved because root depends on 'mapbox-directions-swift' 2.14.0..<2.15.0 and root depends on 'mapbox-maps-ios' 11.7.1.
'mapbox-maps-ios' is incompatible with 'mapbox-directions-swift' because no versions of 'mapbox-directions-swift' match the requirement 2.14.1..<2.15.0.
'mapbox-maps-ios' is incompatible with 'mapbox-directions-swift' because 'mapbox-maps-ios' 11.7.1 depends on 'turf-swift' 3.0.0 and 'mapbox-directions-swift' 2.14.0 depends on 'turf-swift' 2.8.0..<2.9.0.
Xcode: 16.1 RC1 macOS: 14.6.1
Will there be an update in the near future to support to compatibility to maps-ios?
Hello! When can we expect an update? Best regards
Any updates?
Now mapbox-maps-ios depends on turf-swift v 4.0.0 🥲
Hi all
The mapbox-directions-swift repo is intended to be used together with the Nav SDK v2 and Maps SDK v10. The Turf v4.0.0 is not compatible with these library versions. If you want to use the Turf v4.0.0, please switch to the MapboxDirections from the Nav SDK v3.
but we don't want the whole Nav SDK 😂
Hi everyone
Starting from v3.12.0-beta.1 Nav SDK iOS, you can import a separate MapboxDirections product, so you can import the Directions package compatible with the Turf v4.0.0 without the whole Nav SDK.