Publish Score iOS SDK 0.2.0

This commit is contained in:
bdot
2026-10-02 14:28:42 -04:00
parent ca717e4656
commit 411afa70a2
5 changed files with 111 additions and 57 deletions

View File

@@ -1,10 +1,11 @@
// swift-tools-version:5.9
import PackageDescription
// Public SPM package for the Score iOS SDK. `ScoreTracker` (Swift facade,
// ScoreClient) wraps the binary `ScoreTrackerKit` XCFramework, hosted as a
// public release asset on this repo. Consume via git URL:
// .package(url: "https://git.3halves-labs.com/3HL-SCORE/public-sdks-score.git", from: "0.1.0")
// SPM package for the iOS SDK (#178/#188). The `ScoreTracker` Swift facade
// (ScoreClient) wraps the binary `ScoreTrackerKit` XCFramework, hosted as a
// **public** Gitea release asset on `3HL-SCORE/public-sdks-score` (#284).
// Build/refresh via `scripts/release.sh` (rebuild the XCFramework, re-zip,
// recompute the checksum, re-upload to the public release).
let package = Package(
name: "ScoreTracker",
platforms: [.iOS(.v14)],
@@ -14,8 +15,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "ScoreTrackerKit",
url: "https://git.3halves-labs.com/3HL-SCORE/public-sdks-score/releases/download/mobile-v0.1.0/ScoreTrackerKit.xcframework.zip",
checksum: "ae4b4c9b2a7e386d58c1c1144d15c3b4e5f457099ac2677e7d22894a7e4ab3e5"
url: "https://git.3halves-labs.com/3HL-SCORE/public-sdks-score/releases/download/mobile-v0.2.0/ScoreTrackerKit.xcframework.zip",
checksum: "328f8e36fc0c71d5b82bd4cc79d3d12b4520dea2db2358c73922348d83144b47"
),
.target(
name: "ScoreTracker",