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

Capacitor integration fails while resolving Pods #110

Open
FieryHammer opened this issue Sep 19, 2022 · 0 comments
Open

Capacitor integration fails while resolving Pods #110

FieryHammer opened this issue Sep 19, 2022 · 0 comments

Comments

@FieryHammer
Copy link

FieryHammer commented Sep 19, 2022

Hi!

I'm trying to integrate this plugin into a Capacitor project according to this description: https://ionicframework.com/docs/native/firebase-dynamic-links.

When the build runs I get the following error:

[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
  In Podfile:
    CapacitorCommunityFirebaseAnalytics (from `../../node_modules/@capacitor-community/firebase-analytics`) was resolved to 1.0.1, which depends on
      Firebase/Analytics (~> 8.0) was resolved to 8.0.0, which depends on
        Firebase/Core (= 8.0.0) was resolved to 8.0.0, which depends on
          Firebase/CoreOnly (= 8.0.0)

    CordovaPluginsStatic (from `../capacitor-cordova-ios-plugins`) was resolved to 3.5.1, which depends on
      Firebase/DynamicLinks (= 9.3.0) was resolved to 9.3.0, which depends on
        Firebase/CoreOnly (= 9.3.0)

If I don't include this dependency everything is building fine (even the Analytics which was added earlier). I tried to look into the issue, and if I have identified it properly, it has to do something with this depending on the 9.3.0 version of DynamicLinks exactly and it is not being resolved properly (maybe because the current available version is 9.6.0, although I am not sure).

Can you please help me resolve this problem, because I can't use this plugin for the time being.

Note: pod install --repo-update yields the same error

Also I know that this is a Cordova plugin not a Capacitor one, but I'm just wondering if anyone has faced this issue and possibly know a solution for it regardless.

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