LicenseSpring

Swift & Objective-C Licensing SDK for Native macOS Applications

The LicenseSpring Apple SDK lets you implement license activation, entitlement enforcement, and usage tracking directly inside your Swift or Objective-C application with no external licensing infrastructure to build or maintain.

Built for native Apple development environments, the SDK covers macOS desktop software, professional tools, commercial utilities, and concurrent-use applications with support for static and dynamic linking, Floating Server V2, and secure local license storage.

  • ISO 27001 Certified
  • ISO 9001 Certified
  • Trusted by Software Vendors Worldwide

Implement macOS Licensing in Minutes

The Apple SDK integrates as a native framework directly into your Swift or Objective-C application. Once integrated, you have full access to LicenseSpring's licensing infrastructure.

With the SDK, you can:

Activate and validate licenses at runtime: online, offline, or in air-gapped environments
Enforce node-locked, floating, and consumption-based licensing: using the model that fits your product

Gate features by entitlement: control access to functionality at the SDK level within your macOS application

Run local license checks with configurable grace periods: define how long the SDK honors a cached license before requiring revalidation, so connectivity loss never interrupts active users

Bind licenses to hardware: generate persistent hardware IDs using multiple device fingerprinting algorithms suited to the macOS deployment environment

Store license state locally: support offline and cached validation flows with secure on-device license storage

Track usage and activations: feed license telemetry back to the LicenseSpring platform in real time

Not a LicenseSpring customer? Get your free account now.

Built for Native macOS Development

The Apple SDK is designed for developers building and distributing commercial macOS software in Swift or Objective-C, from professional desktop tools and creative applications to commercial utilities and concurrent-use enterprise software.

Common Use Cases

Use CaseDescription
macOS Desktop Software
License installed Apple desktop applications
Professional Tools
Protect creative, technical, and productivity applications
Commercial Utilities
Add entitlement enforcement to paid software products
Floating License Environments
Enable concurrent-use licensing for shared applications
Usage-Based Software
Track and sync consumption-based licensing activity

Integration and Linking

The Apple SDK supports both static and dynamic linking, giving developers flexibility based on their build configuration and distribution requirements.

Static Linking

When linking statically, add the following linker flag to ensure proper symbol loading:
-ObjC

Dynamic Linking

If static linking is not required, link against the dynamic version of the SDK instead. Both approaches are fully supported and produce equivalent licensing behavior at runtime.

Floating Server V2 Support

For applications using Floating Server V2 (FS2), LicenseSpring provides a dedicated client-side method set for authentication, floating license access, borrowing, and synchronization.

Floating Server V2 documentation includes support for:

Checking backend availability with checkConnection()

Authenticating users with authenticateUser(user:password:)

Retrieving available licenses with getAllLicenses()

Registering licenses to users with register(userID:licenseId:)

Borrowing licenses for offline use with borrow(userID:licenseId:until:)

Registering and releasing floating features

Synchronizing consumption and feature usage with the backend

This makes the Apple SDK suitable for environments where floating licenses, borrowed licenses, and concurrent feature access must be managed securely across authenticated user sessions.

Hardware ID Generation

The Apple SDK includes hardware fingerprinting support for node-locked licensing and device-bound activation. Multiple algorithms are available for computing a unique, persistent hardware identifier suited to macOS deployment environments, whether a physical Mac workstation, a MacBook, or a virtual macOS instance.

Generated hardware IDs are used for:

Node-locked license binding

Device identification and activation tracking

Consistent hardware fingerprinting across multi-SDK product deployments

Cross-SDK Interoperability

Products that pair a macOS Swift or Objective-C component with other parts of their stack can use multiple LicenseSpring SDKs simultaneously.

All LicenseSpring SDKs share a common license file format and compute hardware identifiers using the same underlying logic. A license issued to a device is recognized consistently across every component of your product, regardless of which SDK each part uses.

Offline and Air-Gapped Licensing

The Apple SDK fully supports deployments with limited or no internet connectivity with two distinct activation paths:

Offline activation: uses a file-exchange flow for environments with occasional or restricted connectivity

Air-gapped activation: uses a code-exchange flow for environments where no external data transfer is permitted

Both paths support local license validation with configurable grace periods, making the Apple SDK suitable for macOS professional tools used in restricted studio or enterprise environments, offline-first desktop applications, and any scenario where persistent server connectivity cannot be guaranteed at runtime.

Sample App and Developer Documentation

The SDK package includes a sample application project to help developers understand implementation patterns and test licensing workflows in a real project context.

The included documentation helps developers work with:

SDK setup and initialization

License activation and validation

Feature and entitlement checks

Consumption synchronization

Floating license workflows

Backend-connected license operations

Release Notes and SDK Updates

Release notes are included in the Swift/Objective-C SDK package, covering SDK updates, new features, bug fixes, compatibility changes, and implementation notes.

Get Help Integrating the Apple SDK

Our developer support team can help you implement licensing quickly and correctly.

Full SDK documentation and API reference

Sample app project and integration guidance

Floating Server V2 method documentation

Direct technical support

Add Professional Licensing to Your macOS Application

The LicenseSpring Apple SDK gives you the infrastructure to protect your software, enforce licensing policies, and monetize Swift and Objective-C applications across every macOS environment you target.