Skip to content

SPM binary target checksum mismatch in 5.2.16 (and 5.2.15) #1633

@andrii-ae

Description

@andrii-ae

Description

When resolving Swift Package Manager dependencies for version 5.2.16 (and 5.2.15), the checksums of the downloaded binary targets don't match the checksums specified in Package.swift.

Error Message

checksum of downloaded artifact of binary target 'OneSignalLocation' (efa24b15c8e321aa2768853ce90406af257aded6d87b54461a183aac2592cf36) does not match checksum specified by the manifest (bc5a812dc5b55880570867aeae54e93c686108b45ade0275e5fca03b755741cf)

This affects all binary targets in the package.

Expected vs Actual Checksums

Binary Target Package.swift Checksum Actual Download Checksum
OneSignalLocation bc5a812d... efa24b15...
OneSignalFramework 0b40df3b... 07405de4...
(all other targets similarly affected)

Steps to Reproduce

  1. Add OneSignal-iOS-SDK as SPM dependency
  2. Specify version 5.2.15 or 5.2.16
  3. Run xcodebuild -resolvePackageDependencies

Impact

All iOS projects using OneSignal via SPM cannot build.

Suggested Fix

The checksums in Package.swift need to be updated to match the actual binaries on GitHub Releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions