Skip to content

[cloud_firestore]: iOS Firebase 11.0.0 - CocoaPods could not find compatible versions for pod "nanopb" #13228

@jt274

Description

@jt274

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Crashlytics, Other

Which platforms are affected?

iOS

Description

After upgrading to cloud_firestore 5.3.0 and firebase_crashlytics 4.1.0 and building an app for iOS, the following error is given:

[!] CocoaPods could not find compatible versions for pod "nanopb":
      In Podfile:
        FirebaseFirestore (from `[https://github.com/invertase/firestore-ios-sdk-frameworks.git`](https://github.com/invertase/firestore-ios-sdk-frameworks.git), tag `11.0.0`) was resolved to 11.0.0, which depends on
          FirebaseFirestoreBinary (= 11.0.0) was resolved to 11.0.0, which depends on
            FirebaseFirestoreInternalBinary (= 11.0.0) was resolved to 11.0.0, which depends on
              nanopb (< 2.30911.0, >= 2.30908.0)

        firebase_crashlytics (from `.symlinks/plugins/firebase_crashlytics/ios`) was resolved to 4.1.0, which depends on
          Firebase/Crashlytics (= 11.0.0) was resolved to 11.0.0, which depends on
            FirebaseCrashlytics (~> 11.0.0) was resolved to 11.0.0, which depends on
              nanopb (~> 3.30910.0)

I have:

  • Deleted Pods folder
  • Deleted .symlinks folder
  • Deleted Podfile.lock
  • Run flutter clean
  • Run flutter pub cache clean
  • Run flutter pub get
  • Run pod repo update
  • Run pod update

And still receive the above error.

Related to invertase/firestore-ios-sdk-frameworks#108

Reproducing the issue

  1. Upgrade to latest flutterfire packages (including cloud_firestore 5.3.0 and firebase_crashlytics 4.1.0)
  2. Run pod install for iOS

Firebase Core version

3.4.0

Flutter Version

3.24.1

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions