Swiftpack.co - Kankoda/LicenseKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Kankoda.
Kankoda/LicenseKit 0.9.0
LicenseKit helps you protect your Swift-based apps and libraries with a commercial license.
⭐ī¸ 60
🕓 2 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/Kankoda/LicenseKit.git", from: "0.9.0")

LicenseKit Logo

Version Swift 5.8 Twitter: @kankodahq Mastodon: @kankoda@mastodon.social

About LicenseKit

A License represents a software license that can be resolved with a license key.

LicenseKit licenses (see doc:Understanding-Licenses) can specify and validate expiration date, platform, bundle ID, tier, environment, features, and much, much more.

LicenseKit uses services (see doc:Understanding-License-Services) to compile licenses into the product binary, read licenses from files, fetch licenses from remote APIs, integrate with external services like Gumroad, etc.

LicenseKit also lets you cache validation results to handle temporary connectivity loss, and use service proxying to use multiple services to validate license keys.


LicenseKit can be installed with the Swift Package Manager:


LicenseKit only has to be added to the main app target. If you are using LicenseKit with a library, make sure to set up your Swift package so that your users get both your library and LicenseKit when fetching your package.


LicenseKit provides a bunch of license-specific features:

  • ✅ License Validation - LicenseKit can validate licenses in many ways.
  • ⌨ī¸ Binary Licenses - LicenseKit lets you define licenses with source code.
  • 📄 File-Based Licenses - LicenseKit lets you define licenses with plain text files.
  • 🌩ī¸ API/Cloud-Based Licenses - LicenseKit can validate licenses with web requests.
  • 💰 Gumroad - LicenseKit can integrate directly with Gumroad.
  • đŸ“Ļ License Caching - LicenseKit can cache successful license validations.
  • ➡ī¸ Service Proxying - LicenseKit can chain multiple services together.

Getting started

The online documentation has a getting-started guide that helps you get started.


LicenseKit requires a commercial license to be used. It's free to start using and affordable to scale.

You can purchase a license or try out the free, unlimited trial from the LicenseKit website.


The online documentation has articles, code examples etc. that let you overview the various parts of the library.

Demo Application

The demo app lets you try out the library on iOS and macOS. Just open and run the Demo project.


LicenseKit is handled by Kankoda:

Reach out if you have any questions or need help any way.


LicenseKit is closed source. See the LICENSE file for more info.


Stars: 60
Last commit: 2 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

2 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics