google-ar / arcore-ios-sdk

ARCore SDK for iOS
https://developers.google.com/ar/
Apache License 2.0
280 stars 80 forks source link

ARCore in nanopb Dependency Conflict with Firebase & Flutter #104

Open vilorel opened 1 week ago

vilorel commented 1 week ago

Hi all, we've built our AR module that relies on ARCore. We're also using the Firebase Flutter packages and just tried to update them to the latest version.

The error we got is the following (when using Cocapods to build the dependency graph for iOS):

[!] CocoaPods could not find compatible versions for pod "nanopb": In Podfile: ar_flutter_plugin (from.symlinks/plugins/ar_flutter_plugin/ios`) was resolved to 0.6.2, which depends on ARCore/CloudAnchors (~> 1.45.0) was resolved to 1.45.0, which depends on nanopb (< 2.30911.0, >= 2.30908.0)

firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`) was resolved to 15.1.0, which depends on
  Firebase/Messaging (= 11.0.0) was resolved to 11.0.0, which depends on
    FirebaseMessaging (~> 11.0.0) was resolved to 11.0.0, which depends on
      nanopb (~> 3.30910.0)`

I understand that nanopb has breaking changes but when do you plan to launch support for the latest version? Otherwise I assume it's a big problem for Flutter users, potentially iOS too?

naved997 commented 1 week ago

I have the same issue any solution for this?

naved997 commented 1 week ago

Have you solution for this?