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:
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.
The demo app lets you try out the library on iOS and macOS. Just open and run the
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.