Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPM: GoogleAppMeasurement checksum mismatch #8367

Closed
Yurssoft opened this issue Jul 9, 2021 · 12 comments
Closed

SPM: GoogleAppMeasurement checksum mismatch #8367

Yurssoft opened this issue Jul 9, 2021 · 12 comments

Comments

@Yurssoft
Copy link

Yurssoft commented Jul 9, 2021

[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

@ncooke3
Copy link
Member

ncooke3 commented Jul 9, 2021

Hi @Yurssoft,

Thanks for the report and sorry for the trouble! I'm having trouble reproducing this on Xcode 12.5/ M1 Mac. If you're still seeing this issue, I have questions/ideas to help with troubleshooting:

  • What version of Firebase are you trying to pull in?
  • Have you tried File → Swift Packages → Resolve Package Versions?
  • Have you tried File → Swift Packages → Update to Latest Package Versions?
@Yurssoft
Copy link
Author

Yurssoft commented Jul 10, 2021

I cannot add package)) I mean I cannot install it.
This means that Resolve Package Versions and Update to Latest Package Versions not yet accessible. See screenshots. There an error on adding the package itself. I have tried to reset the cache, no success.

@Yurssoft
Copy link
Author

@ncooke3 is it possible I'm installing in the wrong way this package?

@Panajev
Copy link

Panajev commented Jul 10, 2021

Hello @ncooke3 I am also having issues with this, I had to revert to Firebase 8.2.0 as 8.3.0 pulled in this updated version of GoogleAppMeasurements. I actually discovered the problem on the CI machines (which they clone the repo from fresh and they use local workspace derived data, so it is as clean of a start as you can get I think :)).

I then tried to resolve package version, clean the caches, update to the latest package version locally... but that did not seem to make any change to the Packages.resolved file and the Xcode workspace/project itself.

@Panajev
Copy link

Panajev commented Jul 10, 2021

@rizafran I would add additional labels as this breaks the update to the latest Firebase SDK for me (8.3.0 regression).

@Panajev
Copy link

Panajev commented Jul 10, 2021

@Yurssoft have you tried to install Firebase 8.2.0 version specifically (exact version)?

@Yurssoft
Copy link
Author

It works on 8.2.0 version specifically! I haven't tried this before, I only used the last version🙂
Does this mean some CI problem?

Screen Shot 2021-07-10 at 2 17 53 PM

Screen Shot 2021-07-10 at 2 17 39 PM

@Yurssoft
Copy link
Author

@Panajev is it possible to fix this?

@Panajev
Copy link

Panajev commented Jul 10, 2021

Hey @Yurssoft for sure it can be fixed, I do not know what the problem that is causing the mismatch in the latest release is (I have seen that SPM can be quite finnicky, see the AppsFlyer SDK and previous Firebase SPM issues). I would say for now your best bet is to provide information and data to this Issue report, stick with version 8.2.0 if you can, and wait for an 8.3.1 version with a fix.

I was quoting my experience on the CI setup as it is free of other mitigating circumstances that could cause the issue to be not present at all, present in a different form, or a mix of both :). Locally I can set the version to 8.3.0, run reset package caches, resolve version, and update the packages... but if I were installing it from scratch it would not work as you have seen. Also, on CI I want the build to use what is in Package.resolved and do not do further updates or changes beyond what we committed... so I think the CI should build as per the same flow with 8.3.x that worked with 8.2.0.

Package.resolved --> Firebase 8.2.0 forced

{
  "object": {
    "pins": [
      {
        "package": "abseil",
        "repositoryURL": "https://github.com/firebase/abseil-cpp-SwiftPM.git",
        "state": {
          "branch": null,
          "revision": "fffc3c2729be5747390ad02d5100291a0d9ad26a",
          "version": "0.20200225.4"
        }
      },
      {
        "package": "AppsFlyerLib",
        "repositoryURL": "https://github.com/AppsFlyerSDK/AppsFlyerFramework.git",
        "state": {
          "branch": null,
          "revision": "b6e5ae8b8c3eb1968a832e5c6bcab2dccdadce38",
          "version": "6.3.3"
        }
      },
      {
        "package": "BoringSSL-GRPC",
        "repositoryURL": "https://github.com/firebase/boringssl-SwiftPM.git",
        "state": {
          "branch": null,
          "revision": "734a8247442fde37df4364c21f6a0085b6a36728",
          "version": "0.7.2"
        }
      },
      {
        "package": "Connectivity",
        "repositoryURL": "https://github.com/rwbutler/Connectivity",
        "state": {
          "branch": null,
          "revision": "19f08ea4f25efe44cceea2ed5c52a0ca1bb567b5",
          "version": "5.0.1"
        }
      },
      {
        "package": "CryptoSwift",
        "repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift",
        "state": {
          "branch": null,
          "revision": "4e31051c63cc0ddf10a25cf5318856c510cf77f4",
          "version": "1.4.0"
        }
      },
      {
        "package": "CwlCatchException",
        "repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git",
        "state": {
          "branch": null,
          "revision": "682841464136f8c66e04afe5dbd01ab51a3a56f2",
          "version": "2.1.0"
        }
      },
      {
        "package": "CwlPreconditionTesting",
        "repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
        "state": {
          "branch": null,
          "revision": "02b7a39a99c4da27abe03cab2053a9034379639f",
          "version": "2.0.0"
        }
      },
      {
        "package": "Firebase",
        "repositoryURL": "https://github.com/firebase/firebase-ios-sdk.git",
        "state": {
          "branch": null,
          "revision": "805863da97d733e4507a07d6fd113d9dd2e4ec7a",
          "version": "8.2.0"
        }
      },
      {
        "package": "GoogleAppMeasurement",
        "repositoryURL": "https://github.com/google/GoogleAppMeasurement.git",
        "state": {
          "branch": null,
          "revision": "8f2945122bef809c963a619a598c3ac390c2163a",
          "version": "8.1.1"
        }
      },
      {
        "package": "GoogleDataTransport",
        "repositoryURL": "https://github.com/google/GoogleDataTransport.git",
        "state": {
          "branch": null,
          "revision": "cad598c0338e8b203b94378dff0d4d819fa141cf",
          "version": "9.0.1"
        }
      },
      {
        "package": "GoogleUtilities",
        "repositoryURL": "https://github.com/google/GoogleUtilities.git",
        "state": {
          "branch": null,
          "revision": "94f9ab80d39da19dd3a2492d5451e909333f0269",
          "version": "7.4.3"
        }
      },
      {
        "package": "gRPC",
        "repositoryURL": "https://github.com/firebase/grpc-SwiftPM.git",
        "state": {
          "branch": null,
          "revision": "fb405dd2c7901485f7e158b24e3a0a47e4efd8b5",
          "version": "1.28.4"
        }
      },
      {
        "package": "GTMSessionFetcher",
        "repositoryURL": "https://github.com/google/gtm-session-fetcher.git",
        "state": {
          "branch": null,
          "revision": "424886f9336a71891aa81852d0c2c08d807d21aa",
          "version": "1.6.1"
        }
      },
      {
        "package": "Instructions",
        "repositoryURL": "https://github.com/ephread/Instructions",
        "state": {
          "branch": null,
          "revision": "0031e6d57a78086f0273db9134130140bb8e3bc7",
          "version": "2.1.0"
        }
      },
      {
        "package": "leveldb",
        "repositoryURL": "https://github.com/firebase/leveldb.git",
        "state": {
          "branch": null,
          "revision": "0706abcc6b0bd9cedfbb015ba840e4a780b5159b",
          "version": "1.22.2"
        }
      },
      {
        "package": "Lottie",
        "repositoryURL": "https://github.com/airbnb/lottie-ios",
        "state": {
          "branch": null,
          "revision": "79a0b70547f7c40ea54c67487f935fa2f2eaaadc",
          "version": "3.2.3"
        }
      },
      {
        "package": "nanopb",
        "repositoryURL": "https://github.com/firebase/nanopb.git",
        "state": {
          "branch": null,
          "revision": "7ee9ef9f627d85cbe1b8c4f49a3ed26eed216c77",
          "version": "2.30908.0"
        }
      },
      {
        "package": "Nimble",
        "repositoryURL": "https://github.com/Quick/Nimble.git",
        "state": {
          "branch": null,
          "revision": "af1730dde4e6c0d45bf01b99f8a41713ce536790",
          "version": "9.2.0"
        }
      },
      {
        "package": "OHHTTPStubs",
        "repositoryURL": "https://github.com/AliSoftware/OHHTTPStubs",
        "state": {
          "branch": "master",
          "revision": "12f19662426d0434d6c330c6974d53e2eb10ecd9",
          "version": null
        }
      },
      {
        "package": "Promises",
        "repositoryURL": "https://github.com/google/promises.git",
        "state": {
          "branch": null,
          "revision": "afa9a1ace74e116848d4f743599ab83e584ff8cb",
          "version": "1.2.12"
        }
      },
      {
        "package": "Quick",
        "repositoryURL": "https://github.com/Quick/Quick.git",
        "state": {
          "branch": null,
          "revision": "bd86ca0141e3cfb333546de5a11ede63f0c4a0e6",
          "version": "4.0.0"
        }
      },
      {
        "package": "SDWebImage",
        "repositoryURL": "https://github.com/SDWebImage/SDWebImage.git",
        "state": {
          "branch": null,
          "revision": "76dd4b49110b8624317fc128e7fa0d8a252018bc",
          "version": "5.11.1"
        }
      },
      {
        "package": "SDWebImageSwiftUI",
        "repositoryURL": "https://github.com/SDWebImage/SDWebImageSwiftUI.git",
        "state": {
          "branch": null,
          "revision": "cd8625b7cf11a97698e180d28bb7d5d357196678",
          "version": "2.0.2"
        }
      },
      {
        "package": "SnapKit",
        "repositoryURL": "https://github.com/SnapKit/SnapKit",
        "state": {
          "branch": null,
          "revision": "d458564516e5676af9c70b4f4b2a9178294f1bc6",
          "version": "5.0.1"
        }
      },
      {
        "package": "Dynatrace",
        "repositoryURL": "https://github.com/Dynatrace/swift-mobile-sdk.git",
        "state": {
          "branch": null,
          "revision": "0aab8d0444a8a3738154ea5a4b744d9ac14379f8",
          "version": "8.219.1"
        }
      },
      {
        "package": "SwiftProtobuf",
        "repositoryURL": "https://github.com/apple/swift-protobuf.git",
        "state": {
          "branch": null,
          "revision": "1f62db409f2c9b0223a3f68567b4a01333aae778",
          "version": "1.17.0"
        }
      },
      {
        "package": "Zip",
        "repositoryURL": "https://github.com/marmelroy/Zip.git",
        "state": {
          "branch": null,
          "revision": "bd19d974e8a38cc8d3a88c90c8a107386c3b8ccf",
          "version": "2.1.1"
        }
      },
      {
        "package": "ZIPFoundation",
        "repositoryURL": "https://github.com/weichsel/ZIPFoundation.git",
        "state": {
          "branch": null,
          "revision": "cf10bbff6ac3b873e97b36b9784c79866a051a8e",
          "version": "0.9.12"
        }
      }
    ]
  },
  "version": 1
}

Package.resolved --> Firebase 8.3.0

{
  "object": {
    "pins": [
      {
        "package": "abseil",
        "repositoryURL": "https://github.com/firebase/abseil-cpp-SwiftPM.git",
        "state": {
          "branch": null,
          "revision": "fffc3c2729be5747390ad02d5100291a0d9ad26a",
          "version": "0.20200225.4"
        }
      },
      {
        "package": "AppsFlyerLib",
        "repositoryURL": "https://github.com/AppsFlyerSDK/AppsFlyerFramework.git",
        "state": {
          "branch": null,
          "revision": "b6e5ae8b8c3eb1968a832e5c6bcab2dccdadce38",
          "version": "6.3.3"
        }
      },
      {
        "package": "BoringSSL-GRPC",
        "repositoryURL": "https://github.com/firebase/boringssl-SwiftPM.git",
        "state": {
          "branch": null,
          "revision": "734a8247442fde37df4364c21f6a0085b6a36728",
          "version": "0.7.2"
        }
      },
      {
        "package": "Connectivity",
        "repositoryURL": "https://github.com/rwbutler/Connectivity",
        "state": {
          "branch": null,
          "revision": "19f08ea4f25efe44cceea2ed5c52a0ca1bb567b5",
          "version": "5.0.1"
        }
      },
      {
        "package": "CryptoSwift",
        "repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift",
        "state": {
          "branch": null,
          "revision": "8d4f6384e0a8cc41f2005247241dd553963a492a",
          "version": "1.4.1"
        }
      },
      {
        "package": "CwlCatchException",
        "repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git",
        "state": {
          "branch": null,
          "revision": "682841464136f8c66e04afe5dbd01ab51a3a56f2",
          "version": "2.1.0"
        }
      },
      {
        "package": "CwlPreconditionTesting",
        "repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
        "state": {
          "branch": null,
          "revision": "02b7a39a99c4da27abe03cab2053a9034379639f",
          "version": "2.0.0"
        }
      },
      {
        "package": "Firebase",
        "repositoryURL": "https://github.com/firebase/firebase-ios-sdk.git",
        "state": {
          "branch": null,
          "revision": "7f61fe1e2e88736a4fb21a1fb9f28472f8112448",
          "version": "8.3.0"
        }
      },
      {
        "package": "GoogleAppMeasurement",
        "repositoryURL": "https://github.com/google/GoogleAppMeasurement.git",
        "state": {
          "branch": null,
          "revision": "484708062296d3acacb39e85370c9ad9aa2b071c",
          "version": "8.3.0"
        }
      },
      {
        "package": "GoogleDataTransport",
        "repositoryURL": "https://github.com/google/GoogleDataTransport.git",
        "state": {
          "branch": null,
          "revision": "cad598c0338e8b203b94378dff0d4d819fa141cf",
          "version": "9.0.1"
        }
      },
      {
        "package": "GoogleUtilities",
        "repositoryURL": "https://github.com/google/GoogleUtilities.git",
        "state": {
          "branch": null,
          "revision": "94f9ab80d39da19dd3a2492d5451e909333f0269",
          "version": "7.4.3"
        }
      },
      {
        "package": "gRPC",
        "repositoryURL": "https://github.com/firebase/grpc-SwiftPM.git",
        "state": {
          "branch": null,
          "revision": "fb405dd2c7901485f7e158b24e3a0a47e4efd8b5",
          "version": "1.28.4"
        }
      },
      {
        "package": "GTMSessionFetcher",
        "repositoryURL": "https://github.com/google/gtm-session-fetcher.git",
        "state": {
          "branch": null,
          "revision": "424886f9336a71891aa81852d0c2c08d807d21aa",
          "version": "1.6.1"
        }
      },
      {
        "package": "Instructions",
        "repositoryURL": "https://github.com/ephread/Instructions",
        "state": {
          "branch": null,
          "revision": "0031e6d57a78086f0273db9134130140bb8e3bc7",
          "version": "2.1.0"
        }
      },
      {
        "package": "leveldb",
        "repositoryURL": "https://github.com/firebase/leveldb.git",
        "state": {
          "branch": null,
          "revision": "0706abcc6b0bd9cedfbb015ba840e4a780b5159b",
          "version": "1.22.2"
        }
      },
      {
        "package": "Lottie",
        "repositoryURL": "https://github.com/airbnb/lottie-ios",
        "state": {
          "branch": null,
          "revision": "79a0b70547f7c40ea54c67487f935fa2f2eaaadc",
          "version": "3.2.3"
        }
      },
      {
        "package": "nanopb",
        "repositoryURL": "https://github.com/firebase/nanopb.git",
        "state": {
          "branch": null,
          "revision": "7ee9ef9f627d85cbe1b8c4f49a3ed26eed216c77",
          "version": "2.30908.0"
        }
      },
      {
        "package": "Nimble",
        "repositoryURL": "https://github.com/Quick/Nimble.git",
        "state": {
          "branch": null,
          "revision": "af1730dde4e6c0d45bf01b99f8a41713ce536790",
          "version": "9.2.0"
        }
      },
      {
        "package": "OHHTTPStubs",
        "repositoryURL": "https://github.com/AliSoftware/OHHTTPStubs",
        "state": {
          "branch": "master",
          "revision": "12f19662426d0434d6c330c6974d53e2eb10ecd9",
          "version": null
        }
      },
      {
        "package": "Promises",
        "repositoryURL": "https://github.com/google/promises.git",
        "state": {
          "branch": null,
          "revision": "afa9a1ace74e116848d4f743599ab83e584ff8cb",
          "version": "1.2.12"
        }
      },
      {
        "package": "Quick",
        "repositoryURL": "https://github.com/Quick/Quick.git",
        "state": {
          "branch": null,
          "revision": "bd86ca0141e3cfb333546de5a11ede63f0c4a0e6",
          "version": "4.0.0"
        }
      },
      {
        "package": "SDWebImage",
        "repositoryURL": "https://github.com/SDWebImage/SDWebImage.git",
        "state": {
          "branch": null,
          "revision": "76dd4b49110b8624317fc128e7fa0d8a252018bc",
          "version": "5.11.1"
        }
      },
      {
        "package": "SDWebImageSwiftUI",
        "repositoryURL": "https://github.com/SDWebImage/SDWebImageSwiftUI.git",
        "state": {
          "branch": null,
          "revision": "cd8625b7cf11a97698e180d28bb7d5d357196678",
          "version": "2.0.2"
        }
      },
      {
        "package": "SnapKit",
        "repositoryURL": "https://github.com/SnapKit/SnapKit",
        "state": {
          "branch": null,
          "revision": "d458564516e5676af9c70b4f4b2a9178294f1bc6",
          "version": "5.0.1"
        }
      },
      {
        "package": "Dynatrace",
        "repositoryURL": "https://github.com/Dynatrace/swift-mobile-sdk.git",
        "state": {
          "branch": null,
          "revision": "0aab8d0444a8a3738154ea5a4b744d9ac14379f8",
          "version": "8.219.1"
        }
      },
      {
        "package": "SwiftProtobuf",
        "repositoryURL": "https://github.com/apple/swift-protobuf.git",
        "state": {
          "branch": null,
          "revision": "1f62db409f2c9b0223a3f68567b4a01333aae778",
          "version": "1.17.0"
        }
      },
      {
        "package": "Zip",
        "repositoryURL": "https://github.com/marmelroy/Zip.git",
        "state": {
          "branch": null,
          "revision": "bd19d974e8a38cc8d3a88c90c8a107386c3b8ccf",
          "version": "2.1.1"
        }
      },
      {
        "package": "ZIPFoundation",
        "repositoryURL": "https://github.com/weichsel/ZIPFoundation.git",
        "state": {
          "branch": null,
          "revision": "cf10bbff6ac3b873e97b36b9784c79866a051a8e",
          "version": "0.9.12"
        }
      }
    ]
  },
  "version": 1
}

CI logs:

Resolve Package Graph

Fetching from https://github.com/Quick/Quick.git (cached)

Fetching from https://github.com/SDWebImage/SDWebImageSwiftUI.git (cached)

Fetching from https://github.com/ephread/Instructions (cached)

Fetching from https://github.com/mattgallagher/CwlPreconditionTesting.git (cached)

Fetching from https://github.com/google/GoogleDataTransport.git (cached)

Fetching from https://github.com/google/GoogleAppMeasurement.git (cached)

Fetching from https://github.com/airbnb/lottie-ios (cached)

Fetching from https://github.com/weichsel/ZIPFoundation.git (cached)

Fetching from https://github.com/AliSoftware/OHHTTPStubs (cached)

Fetching from https://github.com/apple/swift-protobuf.git (cached)

Fetching from https://github.com/firebase/nanopb.git (cached)

Fetching from https://github.com/firebase/boringssl-SwiftPM.git (cached)

Fetching from https://github.com/marmelroy/Zip.git (cached)

Fetching from https://github.com/firebase/firebase-ios-sdk.git (cached)

Fetching from https://github.com/krzyzanowskim/CryptoSwift (cached)

Fetching from https://github.com/rwbutler/Connectivity (cached)

Fetching from https://github.com/Quick/Nimble.git (cached)

Fetching from https://github.com/SnapKit/SnapKit (cached)

Fetching from https://github.com/firebase/leveldb.git (cached)

Fetching from https://github.com/SDWebImage/SDWebImage.git (cached)

Fetching from https://github.com/google/GoogleUtilities.git (cached)

Fetching from https://github.com/firebase/abseil-cpp-SwiftPM.git (cached)

Fetching from https://github.com/google/promises.git (cached)

Fetching from https://github.com/Dynatrace/swift-mobile-sdk.git (cached)

Fetching from https://github.com/AppsFlyerSDK/AppsFlyerFramework.git (cached)

Fetching from https://github.com/mattgallagher/CwlCatchException.git (cached)

Fetching from https://github.com/firebase/grpc-SwiftPM.git (cached)

Fetching from https://github.com/google/gtm-session-fetcher.git (cached)

Cloning local copy of package ‘Quick’

Checking out 4.0.0 of package ‘Quick’

Cloning local copy of package ‘SDWebImageSwiftUI’

Checking out 2.0.2 of package ‘SDWebImageSwiftUI’

Cloning local copy of package ‘GoogleAppMeasurement’

Checking out 8.3.0 of package ‘GoogleAppMeasurement’

Cloning local copy of package ‘lottie-ios’

Checking out 3.2.3 of package ‘lottie-ios’

Cloning local copy of package ‘Instructions’

Checking out 2.1.0 of package ‘Instructions’

Cloning local copy of package ‘GoogleDataTransport’

Checking out 9.0.1 of package ‘GoogleDataTransport’

Cloning local copy of package ‘ZIPFoundation’

Checking out 0.9.12 of package ‘ZIPFoundation’

Cloning local copy of package ‘CwlPreconditionTesting’

Checking out 2.0.0 of package ‘CwlPreconditionTesting’

Cloning local copy of package ‘OHHTTPStubs’

Checking out master of package ‘OHHTTPStubs’

Cloning local copy of package ‘swift-protobuf’

Checking out 1.17.0 of package ‘swift-protobuf’

Cloning local copy of package ‘nanopb’

Checking out 2.30908.0 of package ‘nanopb’

Cloning local copy of package ‘boringssl-SwiftPM’

Checking out 0.7.2 of package ‘boringssl-SwiftPM’

Cloning local copy of package ‘Zip’

Checking out 2.1.1 of package ‘Zip’

Cloning local copy of package ‘firebase-ios-sdk’

Checking out 8.3.0 of package ‘firebase-ios-sdk’

Cloning local copy of package ‘CryptoSwift’

Checking out 1.4.0 of package ‘CryptoSwift’

Cloning local copy of package ‘Connectivity’

Checking out 5.0.1 of package ‘Connectivity’

Cloning local copy of package ‘Nimble’

Checking out 9.2.0 of package ‘Nimble’

Cloning local copy of package ‘SnapKit’

Checking out 5.0.1 of package ‘SnapKit’

Cloning local copy of package ‘leveldb’

Checking out 1.22.2 of package ‘leveldb’

Cloning local copy of package ‘SDWebImage’

Checking out 5.11.1 of package ‘SDWebImage’

Cloning local copy of package ‘GoogleUtilities’

Checking out 7.4.3 of package ‘GoogleUtilities’

Cloning local copy of package ‘abseil-cpp-SwiftPM’

Checking out 0.20200225.4 of package ‘abseil-cpp-SwiftPM’

Cloning local copy of package ‘promises’

Checking out 1.2.12 of package ‘promises’

Cloning local copy of package ‘swift-mobile-sdk’

Checking out 8.219.1 of package ‘swift-mobile-sdk’

Cloning local copy of package ‘AppsFlyerFramework’

Checking out 6.3.3 of package ‘AppsFlyerFramework’

Cloning local copy of package ‘CwlCatchException’

Checking out 2.1.0 of package ‘CwlCatchException’

Cloning local copy of package ‘grpc-SwiftPM’

Checking out 1.28.4 of package ‘grpc-SwiftPM’

Cloning local copy of package ‘gtm-session-fetcher’

Checking out 1.6.1 of package ‘gtm-session-fetcher’

checksum of downloaded artifact of binary target 'GoogleAppMeasurementWithoutAdIdSupport' (a4dac77d0c2aa5f4e092f5029c45f3656168741a642394e5178f84a87167e490) does not match checksum specified by the manifest (d61c583ee6e60f47eafedd4d508df4264da458faa7c97ca02146a6dd975892fc)checksum of downloaded artifact of binary target 'GoogleAppMeasurement' (23b96b37a4ff9127015b3153a9b197415438463d02e53a99365adeeb33573b52) does not match checksum specified by the manifest (1cd3a6b09b295804d85ca49397833753481e3e7608e9c0f2895e0c0fb0e58035)
Resolved source packages:
  gRPC: https://github.com/firebase/grpc-SwiftPM.git @ 1.28.4
  nanopb: https://github.com/firebase/nanopb.git @ 2.30908.0
  leveldb: https://github.com/firebase/leveldb.git @ 1.22.2
  CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.0.0
  Zip: https://github.com/marmelroy/Zip.git @ 2.1.1
  ZIPFoundation: https://github.com/weichsel/ZIPFoundation.git @ 0.9.12
  OHHTTPStubs: https://github.com/AliSoftware/OHHTTPStubs @ master
  Dynatrace: https://github.com/Dynatrace/swift-mobile-sdk.git @ 8.219.1
  SwiftProtobuf: https://github.com/apple/swift-protobuf.git @ 1.17.0
  SnapKit: https://github.com/SnapKit/SnapKit @ 5.0.1
  SDWebImage: https://github.com/SDWebImage/SDWebImage.git @ 5.11.1
  Connectivity: https://github.com/rwbutler/Connectivity @ 5.0.1
  CryptoSwift: https://github.com/krzyzanowskim/CryptoSwift @ 1.4.0
  GoogleUtilities: https://github.com/google/GoogleUtilities.git @ 7.4.3
  GoogleDataTransport: https://github.com/google/GoogleDataTransport.git @ 9.0.1
  SDWebImageSwiftUI: https://github.com/SDWebImage/SDWebImageSwiftUI.git @ 2.0.2
  Nimble: https://github.com/Quick/Nimble.git @ 9.2.0
  Instructions: https://github.com/ephread/Instructions @ 2.1.0
  Lottie: https://github.com/airbnb/lottie-ios @ 3.2.3
  AppsFlyerLib: https://github.com/AppsFlyerSDK/AppsFlyerFramework.git @ 6.3.3
  GoogleAppMeasurement: https://github.com/google/GoogleAppMeasurement.git @ 8.3.0
  Quick: https://github.com/Quick/Quick.git @ 4.0.0
  CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.1.0
  Promises: https://github.com/google/promises.git @ 1.2.12
  Firebase: https://github.com/firebase/firebase-ios-sdk.git @ 8.3.0
  abseil: https://github.com/firebase/abseil-cpp-SwiftPM.git @ 0.20200225.4
  GTMSessionFetcher: https://github.com/google/gtm-session-fetcher.git @ 1.6.1
  BoringSSL-GRPC: https://github.com/firebase/boringssl-SwiftPM.git @ 0.7.2

xcodebuild: error: Could not resolve package dependencies:
  checksum of downloaded artifact of binary target 'GoogleAppMeasurementWithoutAdIdSupport' (a4dac77d0c2aa5f4e092f5029c45f3656168741a642394e5178f84a87167e490) does not match checksum specified by the manifest (d61c583ee6e60f47eafedd4d508df4264da458faa7c97ca02146a6dd975892fc)
  checksum of downloaded artifact of binary target 'GoogleAppMeasurement' (23b96b37a4ff9127015b3153a9b197415438463d02e53a99365adeeb33573b52) does not match checksum specified by the manifest (1cd3a6b09b295804d85ca49397833753481e3e7608e9c0f2895e0c0fb0e58035)
@paulb777
Copy link
Member

paulb777 commented Jul 10, 2021

@Yurssoft and @Panajev Sorry about the trouble and thanks for sharing your investigation.

The issue looks related updating the 8.3.0 tag on the GoogleAppMeasurement repo during the release process. I suspect the CI machine cached the intermediate version. Note the hash on GoogleAppMeasurement in the logs above and git log on the repo:

The hash should be 06e74ef7ee7326e1af724d462091eed1e5c6fb4a but the Package.resolved above is showing 484708062296d3acacb39e85370c9ad9aa2b071c

~/github/GoogleAppMeasurement (main) $ git log
commit 06e74ef7ee7326e1af724d462091eed1e5c6fb4a (HEAD -> main, tag: 8.3.0, origin/main, origin/HEAD)
Date:   Wed Jun 30 17:42:24 2021 -0400

    Analytics update 8.3.0 SPM (#14)

commit 484708062296d3acacb39e85370c9ad9aa2b071c
Date:   Wed Jun 30 00:28:52 2021 -0400

    Analytics 8.3.0 (#13)
@paulb777
Copy link
Member

We'll publish an 8.3.1 to address. Thanks for helping us isolate the issue.

@ncooke3
Copy link
Member

ncooke3 commented Jul 12, 2021

Hi everyone– thanks again for the help! 8.3.1 has been published with a fix!
I'm closing this issue but can re-open if the issue persists. Thanks!

@ncooke3 ncooke3 closed this as completed Jul 12, 2021
@firebase firebase locked and limited conversation to collaborators Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.