azihsoyn / flutter_mlkit

A Flutter plugin to use the Firebase ML Kit.
MIT License
391 stars 90 forks source link

CocoaPods could not find compatible versions for pod "Firebase/MLNaturalLanguage" #62

Closed eyasuyuki closed 5 years ago

eyasuyuki commented 5 years ago

I cloned this repository, But example does not work with "Firebase/MLNaturalLanguage" version issue.

$ cd example

$ flutter run

Launching lib/main.dart on iPhone Xʀ in debug mode...
Running pod install...                                              0.6s
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (`arm64`)

    Fetching external sources
    -> Fetching podspec for `Flutter` from `Pods/.symlinks/flutter/ios`
    -> Fetching podspec for `image_picker` from `Pods/.symlinks/plugins/image_picker/ios`
    -> Fetching podspec for `mlkit` from `Pods/.symlinks/plugins/mlkit/ios`

    Resolving dependencies of `Podfile`
    [!] CocoaPods could not find compatible versions for pod "Firebase/MLNaturalLanguage":
      In Podfile:
        mlkit (from `Pods/.symlinks/plugins/mlkit/ios`) was resolved to 0.8.3, which depends on
          Firebase/MLNaturalLanguage (~> 5.11.0)

    None of your spec sources contain a spec satisfying the dependency: `Firebase/MLNaturalLanguage (~> 5.11.0)`.

    You have either:
     * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
     * mistyped the name or version.
     * not added the source repo that hosts the Podspec to your Podfile.

    Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

    /Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
    /Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
    /Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `tap'
    /Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
    /Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:257:in `process_topmost_state'
    /Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
    /Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/resolver.rb:88:in `resolve'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/installer/analyzer.rb:939:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/installer/analyzer.rb:937:in `resolve_dependencies'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/installer/analyzer.rb:118:in `analyze'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/installer.rb:398:in `analyze'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/installer.rb:221:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/installer.rb:220:in `resolve_dependencies'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/installer.rb:156:in `install!'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/command/install.rb:51:in `run'
    /Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/lib/cocoapods/command.rb:52:in `run'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.0/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:22:in `load'
    /usr/local/bin/pod:22:in `<main>'

Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
To update the CocoaPods specs, run:
  pod repo update

Error running pod install
Error launching application on iPhone Xʀ.

$ uname -a
Darwin jessica.local 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64

$ flutter --version
Flutter 1.5.4-hotfix.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 7a4c33425d (4 weeks ago) • 2019-04-29 11:05:24 -0700
Engine • revision 52c7a1e849
Tools • Dart 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

$ pod --version
1.7.0

$ pod list | grep -i firebase
  ANN9FirebaseAnalytics 0.0.2
  AppicFirebase 5.18.0
  ChatSDKFirebase 4.11.1
  CodableFirebase 0.2.1
  DryFirebase 0.0.2
  FireBasePod 0.1.2
  Firebase 6.1.0
  Firebase-Cocoa-SDK 2.3.4
  Firebase-RACExtensions 0.3.1
  FirebaseABTesting 3.0.0
  FirebaseAnalytics 6.0.1
  FirebaseAnalyticsInterop 1.2.0
  FirebaseAppIndexing 1.2.0
  FirebaseAuth 6.1.0
  FirebaseAuthInterop 1.0.0
  FirebaseChat 0.1.1
  FirebaseCheckVersion 1.0.9
  FirebaseCommunity 0.1.6
  FirebaseCore 6.0.1
  FirebaseCrash 3.1.1
  FirebaseDatabase 6.0.0
  FirebaseDeviceStore 0.0.1
  FirebaseDynamicLinks 4.0.0
  FirebaseFirestore 1.3.1
  FirebaseFunctions 2.5.1
  FirebaseGenericClient 0.1.1
  FirebaseHelper 1.0.0
  FirebaseInAppMessaging 0.14.1
  FirebaseInAppMessagingDisplay 0.14.0
  FirebaseInstanceID 4.1.0
  FirebaseInvites 3.0.1
  FirebaseMLCommon 0.16.0
  FirebaseMLModelInterpreter 0.16.0
  FirebaseMLNLLanguageID 0.16.1
  FirebaseMLNLSmartReply 0.16.1
  FirebaseMLNLTranslate 0.16.1
  FirebaseMLNaturalLanguage 0.16.1
  FirebaseMLVision 0.16.0
  FirebaseMLVisionAutoML 0.16.0
  FirebaseMLVisionBarcodeModel 0.16.0
  FirebaseMLVisionFaceModel 0.16.0
  FirebaseMLVisionLabelModel 0.16.0
  FirebaseMLVisionObjectDetection 0.16.0
  FirebaseMLVisionTextModel 0.16.0
  FirebaseMessaging 4.0.1
  FirebaseOSX 2.5.1
  FirebaseObjects 0.0.1
  FirebasePerformance 3.0.0
  FirebaseRemoteConfig 4.0.0
  FirebaseResultsController 1.0.0
  FirebaseRxSwiftExtensions 2.0.10
  FirebaseStorage 3.2.1
  FirebaseStorageCache 0.0.10
  FirebaseStorageCacheable 0.1.2
  FirebaseSwizzlingUtilities 2.0.0
  FirebaseUI 7.0.0
  FirebaseUtils 0.1.0
  FirebaseWrapper 0.1.0
  IF_FirebaseFollowHelperKit 0.0.1
  MKFirebaseObjectMapping 0.2.2
  MzzFirebase 0.1.0
  OneSDKFireBase 0.3.0
  ReactiveFirebase 0.1.3
  RxFirebase 0.3.6
  RxFirebaseAuth 2.2
  RxFirebaseAuthentication 0.3.7
  RxFirebaseDatabase 0.3.7
  RxFirebaseFirestore 0.3.7
  RxFirebaseFunctions 0.3.7
  RxFirebaseRemoteConfig 0.3.7
  RxFirebaseStorage 0.3.7
  Segment-Firebase 2.4.0
  mParticle-Google-Analytics-Firebase 7.9.1
azihsoyn commented 5 years ago

Hi, @eyasuyuki.

Thanks reporting!

I am going to fix it within a week.

azihsoyn commented 5 years ago

I released flutter_mlkit@0.12.0.

Please try it.

Thanks😄