The sole purpose of this fork is to reduce the size of the library. Original AppsFlyerSDK repository stores all SDK binaries in the repository. This fork doesn't store binaries and instead links to xcframework files from the original repository directly.
- Download the latest SDK from releases. The name of the zip file should be
AppsFlyerLib.xcframework.zip
. - Calculate the hash of the downloaded zip file using the following command:
swift package compute-checksum ~/Downloads/AppsFlyerLib.xcframework.zip
- Copy the hash to the clipboard.
- Modify Package.swift file and replace the hash with the hash from the clipboard.
- Change the url of the binary to the url of the downloaded xcframework file.
- Commit the changes.
- Tag the commit with the version of the SDK.
- Push the commit and tag to the original repository.