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

Trying to install, pods dependencies not working #120

Open
salvinoto opened this issue Nov 27, 2023 · 3 comments
Open

Trying to install, pods dependencies not working #120

salvinoto opened this issue Nov 27, 2023 · 3 comments

Comments

@salvinoto
Copy link

Hi, I hope this will get seen, I'm trying to use this in a project of mine, and I get this error when Installing pods. Is there a way I can force or manually update MapCommon on this project so I can use it? Thanks.

[!] CocoaPods could not find compatible versions for pod "MapboxCommon":
In snapshot (Podfile.lock):
MapboxCommon (= 23.8.3, ~> 23.8)

In Podfile:
react-native-mapbox-navigation (from ../node_modules/@sqware/react-native-mapbox-navigation) was resolved to 2.0.0, which depends on
MapboxNavigation (> 2.1.0) was resolved to 2.1.1, which depends on
MapboxCoreNavigation (= 2.1.1) was resolved to 2.1.1, which depends on
MapboxNavigationNative (
> 80.0) was resolved to 80.0.2, which depends on
MapboxCommon (~> 20.1)

rnmapbox-maps (from `../node_modules/@rnmapbox/maps`) was resolved to 10.1.0-beta.20, which depends on
  MapboxMaps (~> 10.16.1) was resolved to 10.16.1, which depends on
    MapboxCommon (= 23.8.3)

rnmapbox-maps (from `../node_modules/@rnmapbox/maps`) was resolved to 10.1.0-beta.20, which depends on
  MapboxMaps (~> 10.16.1) was resolved to 10.16.1, which depends on
    MapboxCoreMaps (= 10.16.1) was resolved to 10.16.1, which depends on
      MapboxCommon (~> 23.8)

You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • changed the constraints of dependency MapboxCommon inside your development pod react-native-mapbox-navigation.
    You should run pod update MapboxCommon to apply changes you've made.
@sarafhbk
Copy link

Hey @salvinoto If you're encountering issues with the original version, I'd like to invite you to try my fork of React Native Mapbox Navigation. I've made some enhancements and fixes that might address your concerns. You can easily install it using npm with the following command:

npm install https://github.com/sarafhbk/react-native-mapbox-navigation

I'm eager to hear your feedback and improve it further, so please don't hesitate to share your thoughts and experiences!

@salvinoto
Copy link
Author

I will certainly try it out thank you

@RazaShehryar
Copy link

@sarafhbk I get this issue on Android
Execution failed for task ':homee_react-native-mapbox-navigation:compileDebugKotlin'.
[RUN_GRADLEW] > 'compileDebugJavaWithJavac' task (current target is 17) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.

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