Publish Score iOS SDK 0.1.0 (SPM package + podspec + docs)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
26
Package.swift
Normal file
26
Package.swift
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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")
|
||||
let package = Package(
|
||||
name: "ScoreTracker",
|
||||
platforms: [.iOS(.v14)],
|
||||
products: [
|
||||
.library(name: "ScoreTracker", targets: ["ScoreTracker"]),
|
||||
],
|
||||
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"
|
||||
),
|
||||
.target(
|
||||
name: "ScoreTracker",
|
||||
dependencies: ["ScoreTrackerKit"],
|
||||
path: "Sources/ScoreTracker"
|
||||
),
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user