CariusLars / ar_flutter_plugin

Flutter Plugin for AR (Augmented Reality) - Supports ARKit on iOS and ARCore on Android devices
MIT License
326 stars 242 forks source link

Fails to build due to old Firebase dependency #201

Open justintoth opened 1 year ago

justintoth commented 1 year ago
[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
  In Podfile:
    ar_flutter_plugin (from `.symlinks/plugins/ar_flutter_plugin/ios`) was resolved to 0.6.2, which depends on
      ARCore/CloudAnchors (~> 1.32.0) was resolved to 1.32.0, which depends on
        ARCore/GARSession (= 1.32.0) was resolved to 1.32.0, which depends on
          Firebase/RemoteConfig (< 10.0, >= 8.0) was resolved to 8.0.0, which depends on
            Firebase/CoreOnly (= 8.0.0)

    firebase_core (from `.symlinks/plugins/firebase_core/ios`) was resolved to 2.14.0, which depends on
      Firebase/CoreOnly (= 10.10.0)
alexyaroshuk commented 1 year ago

try making this change to ios/ar_flutter_plugin.podspec on line 23:

  s.dependency 'ARCore/CloudAnchors', '~> 1.38.0' 
  s.platform = :ios, '15.0'