Skip to content

Cannot integrate latest versions of Firebase, GoogleDataTransport and nanopb with CocoaPods #12477

Description

@dmazzoni

Description

I am updating a Firebase integration to version 10.22.0. To include all privacy manifests for transitive dependencies, I have also bumped GoogleDataTransport to 9.40.0 and nanopb to 2.30910.0.

With the following setup, pod install fails with the following error:

[!] CocoaPods could not find compatible versions for pod "nanopb":
  In Podfile:
    FirebaseCrashlytics (= 10.22.0) was resolved to 10.22.0, which depends on
      nanopb (< 2.30911.0, >= 2.30908.0)

    GoogleDataTransport (= 9.4.0) was resolved to 9.4.0, which depends on
      nanopb (< 2.30910.0, >= 2.30908.0)

    nanopb (= 2.30910.0)

The root cause seems to be the fact that GoogleDataTransport's published Podspec for version 9.40.0 requires nanopb to have a version lower than 2.30910.0, preventing the integration of the nanopb version which includes the privacy manifest.

Reproducing the issue

The issue can be reproduced by cloning this sample repo and running a pod install.

Firebase SDK Version

10.22.0

Xcode Version

15.0.1

Installation Method

CocoaPods

Firebase Product(s)

Crashlytics

Targeted Platforms

iOS

Relevant Log Output

No response

If using CocoaPods, the project's Podfile.lock

No Podfile.lock is produced, as pod install fails.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions