Skip to content

chore(spm): switch XCFramework releases to cargo-swift - #79

Merged
birdmanmandbir merged 2 commits into
mainfrom
release/v3.0.2-guion.56-dynamic
Jul 10, 2026
Merged

chore(spm): switch XCFramework releases to cargo-swift#79
birdmanmandbir merged 2 commits into
mainfrom
release/v3.0.2-guion.56-dynamic

Conversation

@birdmanmandbir

Copy link
Copy Markdown
Contributor

Summary

  • Replace the custom XCFramework release path with cargo-swift packaging.
  • Keep a single SwiftPM product, TaskChampionFFI, backed by TaskChampionCore.xcframework.zip.
  • Select linkage from the tag name: snapshot or dynamic tags build dynamic; normal release tags build static.
  • Add main-branch snapshot releases with tags like v3.0.2-guion.56-snapshot.20260710123045.abcdef0.
  • Remove the legacy doubled-FFI generated header/modulemap and old custom build script.

User-facing workflow

  • Formal releases use normal tags and publish static artifacts.
  • Main merges publish prerelease dynamic snapshots.
  • iOS consumers always add the same product, TaskChampionFFI, and only change the pinned tag.

Verification

  • bash -n scripts/package_cargo_swift.sh scripts/use_local_xcframework.sh
  • yq . .github/workflows/release-xcframework.yml >/dev/null
  • git diff --check
  • checked that no FFIFFI text remains in workflow/package/script/source paths

@birdmanmandbir
birdmanmandbir force-pushed the release/v3.0.2-guion.56-dynamic branch from 13c827f to 2a4cda9 Compare July 10, 2026 03:16
@birdmanmandbir
birdmanmandbir merged commit 2c24303 into main Jul 10, 2026
1 check passed
@birdmanmandbir
birdmanmandbir deleted the release/v3.0.2-guion.56-dynamic branch July 10, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant