A Swift Package Manager wrapper for VLCKit, distributing pre-built binaries for iOS, macOS, tvOS and visionOS as a single Swift Package.
Binaries are sourced from VideoLAN's unstable builds and repackaged as an xcframework attached to GitHub releases.
Add this repository as a Swift Package dependency in Xcode:
https://github.com/rursache/VLCKitSPM
import VLCKitSPMSee the VLCKit documentation for API details.
A GitHub Actions workflow runs on the 1st of every month to check for new VLCKit releases. When a new version is found it:
- Downloads the latest
VLCKit-*.tar.xzfrom VideoLAN - Packages the xcframework into a zip
- Updates
Package.swiftwith the new release URL and checksum - Creates a tagged GitHub release with the zip attached
To manually generate and update the package with the latest VLCKit binaries:
./generate.shThis will auto-detect the latest version, download it, update Package.swift, and produce VLCKit.xcframework.zip for upload to a GitHub release.
Based on tylerjonesio's idea.