XCFramework binaries are currently not provided by Tag Commander via SPM. Until they are this repository provides XCFrameworks for versions we use at SRG SSR, with a Swift Package Manager manifest for easy integration in projects.
Use Swift Package Manager directly within Xcode. You can also declare the library as a dependency of another one directly in the associated Package.swift
manifest.
To make the generated framework available:
- Download zipped binaries from Commanders Act official repository and rename the zip as
TCServerSide.xcframework.zip
. - Update
Package.swift
in this repository with the framework version number. - Run
swift package compute-checksum TCServerSide.xcframework.zip
to compute the checksum and insert it intoPackage.swift
. - Commit the changes on
master
and create a corresponding tag. - Push the commit and the tag to GitHub.
- Attach the binary to the tag on GitHub.
Do not commit the binaries in the repository, as this would slow done checkouts made by SPM as the repository grows.