Swift/Objective C SDK

Swift/Objective-C SDK

  • LicenseSpring.framework

  • Sample app project

  • Documentation

LicenseSpring_Apple_SDK_v6.12.12.ziparrow-up-right

Note: For Static Linking, please specify the linker flag "-ObjC" for the library. Otherwise, please link against the dynamic version of SDK.

Release Notes

chevron-rightOctober 13, 2025, v6.12.12hashtag
  • XCode 26 and Swift 6 Support

  • License features and license features watchdog

chevron-rightSeptember 26, 2025, v6.12.11hashtag
  • Virtual machine detection

  • License reconfiguration support

chevron-rightSeptember 10, 2025, v6.12.10hashtag
  • Guard file for offline activations

  • Allow negative consumptions

chevron-rightJuly 15, 2025, v6.12.9hashtag
  • License bundle feature

chevron-rightJune 25, 2025, v6.12.8hashtag
  • license activation date, validity duration and company getter added

  • License.fullCheck performance improvements

chevron-rightMay 12, 2025, v6.12.7hashtag
  • Set default Configuration Public key to production instead of staging environment

chevron-rightApril 29, 2025, v6.12.6hashtag
  • Added escaping method support for non blocking functions

  • Resolved previous issues with offline

chevron-rightApril 14, 2025, v6.12.5hashtag
  • oAuth support

  • Fix inverted maintenance period expired value

chevron-rightApril 1, 2025, v6.12.4hashtag
  • LicenseId support

  • Added encoding to query params when sending GET requests

  • Added optional env param support

chevron-rightFebruary 11, 2025, v6.12.3hashtag
  • Include license into the SDK build

chevron-rightJanuary 30, 2025, v6.12.2hashtag
  • Fix issues with license online check

chevron-rightNovember 07, 2024, v6.12.0hashtag
  • Exposed OrderStoreId as public API

  • Fixed issues with Xcode 16 and SwiftUI Preview

chevron-rightOctober 24, 2024, v6.11.0hashtag
  • Refine all errors to satisfy internal requirements and customer needs

  • Add support for Swift Package Manager

  • Fix some minor issues

chevron-rightOctober 19, 2023, v6.10.0hashtag
  • Implement local grace period

  • Update README

chevron-rightSeptember 19, 2023, v6.9.0hashtag
  • Implement AirGap deactivation

  • Implement isAirGapActivated and polocyID license properties

chevron-rightAugust 1, 2023, v6.8.0hashtag
  • Improve signature checks for Offline activation

  • Implement unlimited consumption feature

  • Implement reset consumption feature

chevron-rightJune 8, 2023, v6.7.0hashtag
  • Added support for metadata functionality.

chevron-rightApril 24, 2023, v6.6.0hashtag
  • air-gap license activation

  • customization of HTTPs proxy for SDK requests

  • extend demo to support air-gap activation

chevron-rightJanuary 26, 2023, v6.4.2hashtag
  • FloatingServer support though FloatingClient implementation

  • Add Support for Grace Period

  • Add support of "date_header_invalid" error

  • Add sending app version, name, etc. with URL and Offline requests

  • Fix Demo with different configuration types (LicenseManager and FloatingClient)

Note: Objective-C is now deprecated. Starting with versions 7.x.x, our SDK will no longer include it. Please contact us for options if you require support for the Objective-C language.

chevron-rightDecember 08, 2022, v6.3.0hashtag
  • Added support for Online Floating licenses

  • Added Floating License Borrowing support

  • Improvement of SSO demo

  • Added demo for Floating Licenses

  • On-the-fly configuration in demo

  • Fix issue for case when the License is deleted on the Server

  • Fix sending of ip/MAC with URL requests

chevron-rightOctober 10, 2022, v6.2.1hashtag
  • Improvement handling local consumptions

  • Implemented Demo application. Min OS supported version is 10.15

  • Relaxed requirements on init methods of public types

  • Exposed some public methods of License and Configuration (non-breaking)

chevron-rightAugust 29, 2022, v6.1.1hashtag
  • Fixed extra network communication on offline activation

chevron-rightAugust 15, 2022, v6.1.0hashtag
  • Fixed offline activation issue when Customer.email is null

  • Fixed offline activation files lookup (now you can specify either file or folder)

  • Implement getting device variables list

  • Implement getting license users list by customer

chevron-rightAugust 9, 2022, v6.0.1hashtag
  • Fixed issue with code signing

  • Improved documentation

chevron-rightJuly 29, v6.0.0hashtag
  • redesign SDK in Swift

chevron-rightMay 3, 2022, v5.11.0hashtag
  • Add retrieving of SSO url

  • Add license activation with SSO token

  • Add SSO token parsing from redirection URL

  • Update Mac/Swift example to show dealing with SSO

  • Extend Customer with additional fields

  • Add license policy and customer optional parameters when requesting trial license

  • Minor improvement of interfaces

  • Internal bugfix

chevron-rightMarch 30, 2022, v5.10.1hashtag
  • fixed issue related to license activation

chevron-rightMarch 29, 2022, v5.10.0hashtag
  • Added external logging subsystem. Now customers are able to collect internal (but not sensitive) logs of LicenseSpring

  • Improved error reporting mechanism. Unified all errors and error codes

  • Added customization in dealing with path to ls_activation.lic file

  • Added support of 'start_date' to the license

  • Implemented offline license update

  • Minor improvement of interfaces

  • Internal bugfix

chevron-rightMarch 02, 2022, v5.9.0hashtag
  • fixed bugs related to license file path

  • set license status to inactive in case of device id mismatch error

  • SDK is now shipped as a unified XCFramework and covers macOS, iOS, iOS Simulator, macCatalyst

chevron-rightOctober 27, 2021, v5.8.0hashtag
  • Updated Examples for Xcode 12.

  • Added Examples for Xcode 13.

  • Updated Documentation.

  • Updated rules for saving license in a local file, fixed issue with incorrect last check date.

  • Fixed algorithm for getting a trial license.

  • Extended InstallationFile. Added new fields.

chevron-rightAugust 05, 2021, v5.7.3hashtag
  • Added SDK for ARM processors, see SDK/ARM/LicenseSpringMac.framework.

  • Updated MacOS example for ARM architecture, added brief readme files for samples.

chevron-rightMay 24, 2021, v5.7.2hashtag
  • Fixed incorrect Offline License file request

  • Updated Examples for Mac OS

chevron-rightMac December 12, 2020 v5.7.1_StaticLib (NEW)hashtag
  • Updated Apple Universal Binary for macOS apple silicon processors static library

chevron-rightMac November 25, 2020 v5.7.1_StaticLibhashtag
  • Added Apple Universal Binary for macOS and IOS Swift/Objective C static library

Note: The archive now also contains Apple Universal Binary static library macOS and IOS. The code has not been changed.

chevron-rightMac November 6, 2020 v5.7.1hashtag
  • Fixed incorrect display license status.

  • Fixed License.IsValide for display actual data.

  • Removed printing a list of network interfaces.

chevron-rightMac October 16, 2020 v5.7.0hashtag
  • Added Swift iOS example project.

  • Added ObjC iOS example project.

  • Added local check for license. See License.localCheck.

  • Added SDK for iOS platform.

  • Fixed getting IP address for macOS.

chevron-rightMac October 8, 2020 v5.6.0hashtag
  • added iOS Example Project;

  • fixed crash;

  • added checking signature on iOS;

chevron-rightMac September 10, 2020 v5.5.0hashtag
  • Added LicenseFeature.Name, now it's possible to get License feature name not only code.

  • Added new exception types MaxFloatingReachedException, DeviceBlacklistedException, MissingEmailException, InvalidOrderIDException.

  • Implemented Overages feature for Consumption license type. See License.IsConsumptionOverageAllowed and License.MaxConsumptionOverage.

  • Improved consumption handling. Added new methods License.UpdateFeatureConsumption, LicenseFeature.LocalConsumption.

  • Fixed issue for validity and maintenance periods in case of null dates (unlimited periods).

chevron-rightMac August 27, 2020 v5.4.1hashtag
  • Fixed issue of automatic license checks

chevron-rightMac April 1, 2020 v5.4.0hashtag
  • Added LicenseFeature name Allowing to retrieve the feature name in addition to its code.

  • Bug: Fixed issue of consumption features. Consumption changes were not stored to local license file properly.

  • Bug: Fixed license status.

  • Default license file path changed to SupportApplication%AppName%\LicenseSpring%ProductCode%\License.key. Now the default license path of the application license will be transferred to the new location by the SDK.

  • In LicenseManager sendCustomData renamed to sendDeviceData.

  • Added validityPeriodUTC maintenancePeriodUTC lastCheckDateUTC

  • ProductDetails information now also available for offline activated licenses, see License getProductDetails.

  • Added License owner

  • Added License isMaintenancePeriodExpired

  • Added LicenseManager isOnline

  • Added new LicenseManager getTrialLicense method. It accepts Customer object, when issuing trial license also new customer will be created or license will be assigned to existing customer.

  • Updated documentation.

chevron-rightMac March 16, 2020hashtag
  • Updated examples for Xcode 10 and Xcode 11.

  • Added examples for Trial Flow App.

chevron-rightMac December 27, 2019hashtag
  • Added new API request GetProductDetails, new class ProductDetails.

  • Added LicenseSpringConfiguration.getAPIVersion property. It returns API version that SDK uses.

  • API version field added to offline activation/deactivation files.

  • Added requests for creating licenses and orders. See LicenseManager.createLicense and LicenseManager.createOrder.

  • New classes Customer, OrderDetails and LicenseDetails.

  • Improved samples.

chevron-rightMac December 11, 2019hashtag
  • User-based licensing

  • Offline licensing. New API methods - getOfflineActivationFile, activateLicenseOffline and deActivateOffline.

  • Added new methods isOfflineActivated.

  • Added new methods maxActivations and timesActivated.

  • New API request sendCustomData, it allows sending custom data to the platform. Data will be linked to a device, so on the platform see device variables.

  • Changed license status logic, now it's possible to check whether license is active even if it was disabled. See isActive, isEnabled.

chevron-rightMac November 28, 2019, v4.5.0hashtag
  • Fixed incorrect work of the SDK when product configured to have more than 2 letters short-code.

  • Updated code style

  • Fixed bug with LicenseStatus

chevron-rightMac September 11, 2019, v4.4.1hashtag
  • Added new feature - Custom product (license) data fields, see getcustomFields in License and CustomField.h

  • Improved SDK samples

  • Added sending "hostname" and ability to disable it

  • Fixed API URL in samples

  • Sending of optional parameters like app_ver, os_ver, sdk_ver.

chevron-rightMac June 13, 2019, v4.4.0hashtag
  • Added Signature verification.

  • Stability and performance improvements.

chevron-rightMac June 5, 2019, v4.3.2hashtag
  • Updated local check of the license, fixed issue with changing system time.

chevron-rightMay 8, 2019, v4.3.1hashtag
  • Extended sample apps with brief example on how to handle product updates.

chevron-rightMay 6, 2019, v4.3.0hashtag
  • Consumption licensing

  • Global optimizations, significant improvements in the SDK architecture and design

  • Added Swift sample

chevron-rightApril 18, 2019, v4.2.1hashtag
  • Ability to set custom hardware ID.

  • LSExtendedOptions, all optional SDK configuration properties now brought together in ExtendedOptions class, see sample app for details.

  • Updated Example app.

chevron-rightApril 15, 2019, v4.1.0hashtag
  • License status, isActive now replaced with LicenseStatus for the License class, for more details see LicenseStatus.h

  • Fixed build error due to missed header in License.h

chevron-rightApril 9, 2019, v4.0.10hashtag
  • implemented offline validation of the license

chevron-rightApril 8, 2019, v4.0.9hashtag
  • added product features

  • optimized license api calls

chevron-rightApril 5, 2019, v4.0.8hashtag
  • added "product" (short-code) in relevant APIs (internal)

chevron-rightApril 4, 2019, v4.0.7hashtag
  • fixed non-compilable code and add staging variable for Debug/Release configuration

chevron-rightApril 3, 2019, v4.0.6hashtag
  • in case of no internet connection or other connectivity issue, CheckLicense will return the current License (if available)

chevron-rightApril 2, 2019, v4.0.5hashtag
  • removed isEnabled property from License object

  • added isExpired property to License object. This property (bool) will now reflect whether current license is maybe expired (validity period passed). Developers should use the following logic to determine whether there is a valid license: if license != nil && license.isExpired == false ...

Was this helpful?