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

Xcode - Package Resolution Failed #204

Open
denhams opened this issue Apr 4, 2024 · 3 comments
Open

Xcode - Package Resolution Failed #204

denhams opened this issue Apr 4, 2024 · 3 comments

Comments

@denhams
Copy link

denhams commented Apr 4, 2024

Steps to reproduce

Following the documentation at https://docs.mapbox.com/ios/search/guides/install/, in Xcode 15.3 add the package dependency https://github.com/mapbox/mapbox-search-ios.git with Exact Version 2.0.0-rc.3.

Expected result

The Search API package is added to the project.

Actual result

The package fails to add to the project:

Screenshot 2024-04-04 at 11 45 35 AM

The other Mapbox packages included in the project are:

Screenshot 2024-04-04 at 11 45 56 AM

@MarnixArnold
Copy link

I've seen something similar before. The problem is that MapboxMaps 10.17.0 depends on MapboxCommon 23.9.2 but MapboxSearch 2.0.0-rc.3 depends on MapboxCommon 24.0.0.

You can solve this by either upgrading MapboxMaps to 11.2.0 (which also uses MapboxCommon 24.0.0) before installing MapboxSearch 2.0.0-rc.3, or you can use MapboxSearch 1.0.0-rc.8 (which uses MapboxCommon 23.9.2) instead.

@aokj4ck
Copy link
Contributor

aokj4ck commented Apr 5, 2024

@denhams MapboxSearch v2 is compatible with MapboxCommon v24 and MapboxMaps v11. To use MapboxMaps v10 you will need to use MapboxSearch v1. Does your project already have Maps v10 integrated?

@denhams
Copy link
Author

denhams commented Apr 5, 2024

@denhams MapboxSearch v2 is compatible with MapboxCommon v24 and MapboxMaps v11. To use MapboxMaps v10 you will need to use MapboxSearch v1. Does your project already have Maps v10 integrated?

Hi @aokj4ck , thanks, I thought that might be the case. My app uses Maps v10 - I cannot use v11 because the app also uses Navigation which is not compatible with Maps v11. Please see issue mapbox/mapbox-navigation-ios#4570. Have you plans to update these products so they can interoperate without these version issues?

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

3 participants