google-ar / arcore-ios-sdk

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

CocoaPods could not find compatible versions for pod "nanopb": #108

Open zayantharanif3 opened 1 month ago

zayantharanif3 commented 1 month ago

In Podfile: firebase_messaging (from .symlinks/plugins/firebase_messaging/ios) was resolved to 15.1.3, which depends on Firebase/Messaging (= 11.2.0) was resolved to 11.2.0, which depends on FirebaseMessaging (~> 11.2.0) was resolved to 11.2.0, which depends on nanopb (~> 3.30910.0)

jmap_ar_sdk (from .symlinks/plugins/jmap_ar_sdk/ios) was resolved to 1.0.1, which depends on
  ARCore/CloudAnchors (= 1.45.0) was resolved to 1.45.0, which depends on
    nanopb (< 2.30911.0, >= 2.30908.0)

Downgrading Firebase isn't an option in my case. Is there anything regarding ARCore that could be done?

15kingben commented 1 month ago

ARCore is not yet updating to Firebase 11.X. If your project needs to use this version, my recommendation for now would be to fork the package and adjust that dependency, or use the cocoapod as a local swift package and manually adjust the dependency there.

hlefe commented 2 weeks ago

Hi everyone!

I have temporarily created a fork of ARCore called ARCoreNanoPbUpdated 1.46.0.1 to address the issue while we await an official update from Google for the ARCore package. To integrate this fix, simply replace the following line in your Podspec: s.dependency 'ARCore/CloudAnchors', '~> 1.46.0' with: s.dependency 'ARCoreNanoPbUpdated/CloudAnchors', '~> 1.46.0.2'

I hope this helps!