arcore-ios-sdk icon indicating copy to clipboard operation
arcore-ios-sdk copied to clipboard

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

Open zayantharanif3 opened this issue 1 year ago • 2 comments

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?

zayantharanif3 avatar Oct 02 '24 06:10 zayantharanif3

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.

15kingben avatar Oct 03 '24 17:10 15kingben

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!

hlefe avatar Nov 08 '24 16:11 hlefe