Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiteRTLM (iOS)

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:

  1. Copy only the non-test Swift wrapper files needed by LiteRTLM from the release that actually publishes CLiteRTLM.xcframework.zip.
  2. Update Package.swift with the new release zip URL and checksum.
  3. Keep this repository free of .lfs, LFS pointers, Android/macOS prebuilts, docs, examples, and upstream test data.
  4. Tag the new wrapper version and pin that tag from Aside ios/project.yml.

About

LFS-free SwiftPM wrapper for LiteRT-LM iOS. binaryTarget is the v0.16.0 CLiteRTLM.xcframework.zip.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages