Publish Score iOS SDK 0.3.0
This commit is contained in:
17
README.md
17
README.md
@@ -9,17 +9,18 @@ Public, auth-free distribution of the **Score mobile tracker** SDKs for iOS and
|
||||
|
||||
> This repo hosts the **consumable artifacts** (release assets + package manifests). The SDK source lives in 3 Halves Labs' private platform repo.
|
||||
|
||||
## Install — 0.2.0 (no token / login required)
|
||||
## Install — 0.3.0 (no token / login required)
|
||||
|
||||
### iOS — Swift Package Manager
|
||||
```bash
|
||||
swift package-registry set https://git.3halves-labs.com/api/packages/3HL-SCORE/swift
|
||||
```
|
||||
Add this repo by git URL. There's no registry to configure and no login.
|
||||
```swift
|
||||
// Package.swift
|
||||
dependencies: [ .package(id: "threehalveslabs.ScoreTracker", from: "0.2.0") ]
|
||||
// target: .product(name: "ScoreTracker", package: "ScoreTracker")
|
||||
dependencies: [ .package(url: "https://git.3halves-labs.com/3HL-SCORE/public-sdks-score.git", from: "0.3.0") ]
|
||||
// target: .product(name: "ScoreTracker", package: "public-sdks-score")
|
||||
```
|
||||
Or in Xcode: **File → Add Packages…** and paste the URL. (The old Swift package
|
||||
*registry* route, `threehalveslabs.ScoreTracker`, was retired; that package no
|
||||
longer exists.)
|
||||
|
||||
### iOS — CocoaPods
|
||||
```ruby
|
||||
@@ -28,7 +29,7 @@ pod 'ScoreTracker',
|
||||
```
|
||||
|
||||
### iOS — direct XCFramework
|
||||
Download `ScoreTrackerKit.xcframework.zip` from the [`mobile-v0.2.0` release](https://git.3halves-labs.com/3HL-SCORE/public-sdks-score/releases) and drag it into Xcode.
|
||||
Download `ScoreTracker-pod.zip` from the [`mobile-v0.3.0` release](https://git.3halves-labs.com/3HL-SCORE/public-sdks-score/releases). It contains `ScoreTrackerKit.xcframework` plus the Swift facade sources (`Sources/ScoreTracker/`). Drag the framework into Xcode and add the Swift files to your app target.
|
||||
|
||||
### Android — Gradle
|
||||
```kotlin
|
||||
@@ -36,7 +37,7 @@ repositories {
|
||||
maven { url = uri("https://git.3halves-labs.com/api/packages/3HL-SCORE/maven") } // public — no credentials
|
||||
}
|
||||
dependencies {
|
||||
implementation("com.threehalveslabs.scoretracker:shared-android:0.2.0")
|
||||
implementation("com.threehalveslabs.scoretracker:shared-android:0.3.0")
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user