AppsFlyerSDK / AppsFlyerFramework

AppsFlyer Apple SDK
https://support.appsflyer.com/hc/en-us/articles/207032066-AppsFlyer-SDK-Integration-iOS
Other
163 stars 90 forks source link

6.14.0 - SPM checksum does not match #279

Closed scottlemke closed 2 months ago

scottlemke commented 2 months ago

Report

When integrating version 6.14.0 of the Appsflyer SDK via SPM, I receive the following error: checksum of downloaded artifact of binary target 'AppsFlyerLib' (e3063f25dd58b242c31d1bc5761fcb96930539e8e4d0745c22df792ecbd455e0) does not match checksum specified by the manifest (d7fdf61996dacb7787506305b6c541197ede64fcc4528c41842d9a507bd1b94b)

SDK Version

6.14.0

What did you do?

Add the Appsflyer SDK Package Dependency in Xcode.

What did you expect to happen?

The package is added successfully.

What happened instead?

An error is displayed by Swift Package Manager: checksum of downloaded artifact of binary target 'AppsFlyerLib' (e3063f25dd58b242c31d1bc5761fcb96930539e8e4d0745c22df792ecbd455e0) does not match checksum specified by the manifest (d7fdf61996dacb7787506305b6c541197ede64fcc4528c41842d9a507bd1b94b)

Please provide any other relevant information.

NA

RonKliffer commented 2 months ago

@scottlemke I had the same issue, resolved it by removing the cache. Do: rm -rf ~/Library/Caches/org.swift.swiftpm rm -rf ~/Library/org.swift.swiftpm rm -rf ~/.swiftpm

Also delete derived data and optionally delete Package.resolved file.

scottlemke commented 2 months ago

Thanks, @RonKliffer. I've already tried this and still get the same error. You can manually verify by downloading the zip file that is specified in the Package.swift file and calculating the checksum. It does not match the one specified in the Package.swift file.

af-obodovskyi commented 2 months ago

@scottlemke Please consider using one of the following repositories for the SPM. SPM support will be removed from the main repository because of the extremely long checkout time, which affects the release process.

For statically linked library https://github.com/AppsFlyerSDK/AppsFlyerFramework-Static

For dynamically linked library https://github.com/AppsFlyerSDK/AppsFlyerFramework-Dynamic

For Strict (No IDFA colection) library https://github.com/AppsFlyerSDK/AppsFlyerFramework-Strict