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

Not compatible with mapbox-maps-ios v11.7 or above #830

Open
BinaryDennis opened this issue Oct 27, 2024 · 0 comments
Open

Not compatible with mapbox-maps-ios v11.7 or above #830

BinaryDennis opened this issue Oct 27, 2024 · 0 comments

Comments

@BinaryDennis
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant