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

GoogleUtilities/Environment conficts with flutter packge 'firebase_core' #113

Open
Badjessa-git opened this issue Jan 25, 2025 · 0 comments

Comments

@Badjessa-git
Copy link

Hello expert I'm running into an issue with trying to use firebase and ARCore/CloudAnchors in the same flutter project.

I'm getting this output

[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/Environment":
  In Podfile:
    ar_flutter_plugin (from `.symlinks/plugins/ar_flutter_plugin/ios`) was resolved to 0.6.3, which depends on
      ARCore/CloudAnchors (~> 1.47.0) was resolved to 1.47.0, which depends on
        ARCore/GARSession (= 1.47.0) was resolved to 1.47.0, which depends on
          ARCore/Base (= 1.47.0) was resolved to 1.47.0, which depends on
            GoogleDataTransport (~> 9.2) was resolved to 9.4.1, which depends on
              GoogleUtilities/Environment (~> 7.7)

    firebase_core (from `.symlinks/plugins/firebase_core/ios`) was resolved to 3.10.1, which depends on
      Firebase/CoreOnly (= 11.6.0) was resolved to 11.6.0, which depends on
        FirebaseCore (~> 11.6.0) was resolved to 11.6.0, which depends on
          GoogleUtilities/Environment (~> 8.0)

    firebase_core (from `.symlinks/plugins/firebase_core/ios`) was resolved to 3.10.1, which depends on
      Firebase/CoreOnly (= 11.6.0) was resolved to 11.6.0, which depends on
        FirebaseCore (~> 11.6.0) was resolved to 11.6.0, which depends on
          GoogleUtilities/Logger (~> 8.0) was resolved to 8.0.2, which depends on
            GoogleUtilities/Environment (= 8.0.2)

It looks like FirebaseCore depends on a higher version of GoogleUtilities/Environment. The easiest patch would be to make this update but even after forking the repo I was pretty lost as to how to resolve it.

Requesting that this be upgraded to v8.0

For those that are running into this my current fix is to downgrade firebase_core to version 1.6 which seems to work

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