LFS-free SwiftPM wrapper for Google LiteRT-LM 0.16.0
(924e79c91542761242244e4f1651851f822e4cbb). This repo contains only the
thin Swift package (Package.swift + Sources/LiteRTLM + LICENSE). It
does not vendor Git LFS prebuilt/* objects from
google-ai-edge/LiteRT-LM.
SwiftPM resolve downloads only:
https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.16.0/CLiteRTLM.xcframework.zip
checksum 4e0f683da07566ee79c143d2d58d387f77052b0e6a41562c969e5d2728fc9f4b
(from the v0.16.0 GitHub release digest / upstream Package.swift).
Do not consume https://github.com/google-ai-edge/LiteRT-LM.git as an SPM
url:. That checkout still LFS-tracks prebuilt/* and previously blocked
Aside TestFlight archives (ArcBlock/aside#667) even with
GIT_LFS_SKIP_SMUDGE=1.
Do not follow GitHub's "Latest" badge unconditionally. v0.16.1 is newer
but ships only litert_lm_main.macos_arm64 — no iOS
CLiteRTLM.xcframework.zip. Pin tag 0.16.0.
.package(url: "https://github.com/ArcBlock/lite-rt-lm-ios", exact: "0.16.0")When updating LiteRT-LM:
- Copy only the non-test Swift wrapper files needed by
LiteRTLMfrom the release that actually publishesCLiteRTLM.xcframework.zip. - Update
Package.swiftwith the new release zip URL and checksum. - Keep this repository free of
.lfs, LFS pointers, Android/macOS prebuilts, docs, examples, and upstream test data. - Tag the new wrapper version and pin that tag from Aside
ios/project.yml.