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

Dependency Resolution Failure with mapbox-maps-ios v11.3.0 and mapbox-search-ios v2.0.0 #230

Closed
jeffypooo opened this issue May 3, 2024 · 4 comments

Comments

@jeffypooo
Copy link

Xcode Error

Failed to resolve dependencies Dependencies could not be resolved because root depends on 'mapbox-maps-ios' 11.3.0 and root depends on 'search-ios' 2.0.0.
'search-ios' is incompatible with 'mapbox-maps-ios' because 'search-ios' 2.0.0 depends on 'mapbox-common-ios' 24.4.0-beta.2..<25.0.0 and 'mapbox-maps-ios' 11.3.0 depends on 'mapbox-common-ios' 24.3.1.
@jeffypooo
Copy link
Author

jeffypooo commented May 3, 2024

This also fails with mapbox-maps-ios v11.2.0 and Search v2.0.0

Failed to resolve dependencies Dependencies could not be resolved because root depends on 'mapbox-maps-ios' 11.2.0 and root depends on 'search-ios' 2.0.0.
'search-ios' is incompatible with 'mapbox-maps-ios' because 'search-ios' 2.0.0 depends on 'mapbox-common-ios' 24.4.0-beta.2..<25.0.0 and 'mapbox-maps-ios' 11.2.0 depends on 'mapbox-common-ios' 24.2.0.

It would be nice if you folks provided a compatibility matrix for these things

@jeffypooo
Copy link
Author

jeffypooo commented May 3, 2024

Workaround

Upgrade mapbox-maps-ios to v11.4.0-beta.2.

This works but I don't like being forced onto a beta version of the core SDK to play nice with a major version release of search.

@jeffypooo jeffypooo changed the title Dependency Resolution Failure with Mapbox Core v11.3.0 and Search v2.0.0 Dependency Resolution Failure with mapbox-maps-ios v11.3.0 and Search v2.0.0 May 3, 2024
@jeffypooo jeffypooo changed the title Dependency Resolution Failure with mapbox-maps-ios v11.3.0 and Search v2.0.0 Dependency Resolution Failure with mapbox-maps-ios v11.3.0 and mapbox-search-ios v2.0.0 May 3, 2024
@aokj4ck
Copy link
Contributor

aokj4ck commented May 14, 2024

@jeffypooo please update to our latest release v2.0.3 and let me know if you encounter any issues. https://github.com/mapbox/mapbox-search-ios/releases/tag/v2.0.3. Sorry for the confusion, to prevent this issue from occurring again mapbox-search-ios will use an exact version of the MapboxCommon dependency to remain compatible in-step with the other SDKs starting with search v2.0.3.

@jeffypooo
Copy link
Author

Confirmed fixed ❤️

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

2 participants