Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapBox Directions not compatible with mapbox-maps-ios v11.7 or above #2289

Open
666bsw opened this issue Feb 14, 2025 · 0 comments
Open

MapBox Directions not compatible with mapbox-maps-ios v11.7 or above #2289

666bsw opened this issue Feb 14, 2025 · 0 comments
Labels
bug 🪲 Something is broken!

Comments

@666bsw
Copy link

666bsw commented Feb 14, 2025

MapBox Directions problems

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

MapBox Directions:
.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.

The problem has been hanging for 5 months already. Maybe they will pay attention here?

mapbox/mapbox-directions-swift#830

Best regards

@666bsw 666bsw added the bug 🪲 Something is broken! label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something is broken!
Projects
None yet
Development

No branches or pull requests

1 participant