Skip to content

SPM: GoogleAppMeasurement checksum mismatch  #8367

Closed
@Yurssoft

Description

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 12.5.1 (12E507)
  • Firebase SDK version: cannot install
  • Installation method: Swift Package Manager
  • Firebase Component: Auth
  • MacBook M1

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

Xcode, select File > Swift Packages > Add Package Dependency
https://github.com/firebase/firebase-ios-sdk

output

checksum of downloaded artifact of binary target GoogleAppMeasurement (23b96b37a4ff9127015b3153a9b197415438463d02e53a99365adeeb33573b52) does not match checksum specified by the manifest (1cd3a6b09b295804d85ca49397833753481e3e7608e9c0f2895e0c0fb0e58035)



checksum of downloaded artifact of binary target GoogleAppMeasurementWithoutAdIdSupport (a4dac77d0c2aa5f4e092f5029c45f3656168741a642394e5178f84a87167e490) does not match checksum specified by the manifest (d61c583ee6e60f47eafedd4d508df4264da458faa7c97ca02146a6dd975892fc)

Also tried:

  • reboot mac
  • rm -rf ~/Library/Developer/Xcode/DerivedData
  • reopen xcode
  • Xcode, select File > Swift Packages > Rest package caches
  • just adding directly https://github.com/google/GoogleAppMeasurement.git, also fails, same error
  • google the issue

None of this helped.

ℹ️Note that when I have tried to add https://github.com/firebase/firebase-ios-sdk to another SPM package, it failed few times, and worked eventually. In the app, it just fails.

Relevant Code:

None, cannot add package🙂

Screen Shot 2021-07-09 at 6 36 57 PM

Screen Shot 2021-07-09 at 5 11 18 PM

Screen Shot 2021-07-09 at 6 53 22 PM

Screen Shot 2021-07-09 at 6 54 19 PM

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions