Skip to content

rursache/VLCKitSPM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VLCKit SPM

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.

Installation

Add this repository as a Swift Package dependency in Xcode:

https://github.com/rursache/VLCKitSPM

Usage

import VLCKitSPM

See the VLCKit documentation for API details.

Automated Updates

A GitHub Actions workflow runs on the 1st of every month to check for new VLCKit releases. When a new version is found it:

  1. Downloads the latest VLCKit-*.tar.xz from VideoLAN
  2. Packages the xcframework into a zip
  3. Updates Package.swift with the new release URL and checksum
  4. Creates a tagged GitHub release with the zip attached

Local Building

To manually generate and update the package with the latest VLCKit binaries:

./generate.sh

This will auto-detect the latest version, download it, update Package.swift, and produce VLCKit.xcframework.zip for upload to a GitHub release.

Thanks

Based on tylerjonesio's idea.

About

Use VLCKit with Swift Package Manager

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •