Discussions

Ask a Question
Back to All

Error running 'pod install'

I'm using the Flutter sdk and cannot run pod install without getting the following error. This is preventing me from building to device. I'm using the latest version of flutter and VS Code.

[!] CocoaPods could not find compatible versions for pod "Adapty":
  In Podfile:
    adapty_flutter (from `.symlinks/plugins/adapty_flutter/ios`) was resolved to 2.9.3, which depends on
      Adapty (= 2.9.6)

    adapty_ui_flutter (from `.symlinks/plugins/adapty_ui_flutter/ios`) was resolved to 2.0.2, which depends on
      AdaptyUI (= 2.0.2) was resolved to 2.0.2, which depends on
        Adapty (~> 2.7.0)

My pubspec.yaml looks like this.

adapty_flutter: ^2.9.0
adapty_ui_flutter: ^2.0.6

I've been trying to figure this out for hours and am going a little crazy. Any help would be greatly appreciated. Thank you!