Swift/Objective C SDK
Swift/Objective-C SDK
LicenseSpring.framework
Sample app project
Documentation
LicenseSpring_Apple_SDK_v6.12.12.zip
Note: For Static Linking, please specify the linker flag "-ObjC" for the library. Otherwise, please link against the dynamic version of SDK.
Release Notes
October 13, 2025, v6.12.12
XCode 26 and Swift 6 Support
License features and license features watchdog
June 25, 2025, v6.12.8
license activation date, validity duration and company getter added
License.fullCheck performance improvements
May 12, 2025, v6.12.7
Set default Configuration Public key to production instead of staging environment
April 29, 2025, v6.12.6
Added escaping method support for non blocking functions
Resolved previous issues with offline
April 1, 2025, v6.12.4
LicenseIdsupportAdded encoding to query params when sending GET requests
Added optional
envparam support
November 07, 2024, v6.12.0
Exposed
OrderStoreIdas public APIFixed issues with Xcode 16 and SwiftUI Preview
October 24, 2024, v6.11.0
Refine all errors to satisfy internal requirements and customer needs
Add support for Swift Package Manager
Fix some minor issues
September 19, 2023, v6.9.0
Implement AirGap deactivation
Implement
isAirGapActivatedandpolocyIDlicense properties
August 1, 2023, v6.8.0
Improve signature checks for Offline activation
Implement
unlimited consumptionfeatureImplement
reset consumptionfeature
April 24, 2023, v6.6.0
air-gap license activation
customization of HTTPs proxy for SDK requests
extend demo to support air-gap activation
January 26, 2023, v6.4.2
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.
December 08, 2022, v6.3.0
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
October 10, 2022, v6.2.1
Improvement handling local consumptions
Implemented Demo application. Min OS supported version is 10.15
Relaxed requirements on
initmethods of public typesExposed some public methods of License and Configuration (non-breaking)
August 15, 2022, v6.1.0
Fixed offline activation issue when
Customer.emailis nullFixed offline activation files lookup (now you can specify either file or folder)
Implement getting device variables list
Implement getting license users list by customer
May 3, 2022, v5.11.0
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
March 29, 2022, v5.10.0
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
March 02, 2022, v5.9.0
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
October 27, 2021, v5.8.0
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.
August 05, 2021, v5.7.3
Added SDK for ARM processors, see SDK/ARM/LicenseSpringMac.framework.
Updated MacOS example for ARM architecture, added brief readme files for samples.
Mac December 12, 2020 v5.7.1_StaticLib (NEW)
Updated Apple Universal Binary for macOS apple silicon processors static library
Mac November 25, 2020 v5.7.1_StaticLib
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.
Mac November 6, 2020 v5.7.1
Fixed incorrect display license status.
Fixed
License.IsValidefor display actual data.Removed printing a list of network interfaces.
Mac October 16, 2020 v5.7.0
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.
Mac September 10, 2020 v5.5.0
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.IsConsumptionOverageAllowedandLicense.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).
Mac April 1, 2020 v5.4.0
Added
LicenseFeature nameAllowing 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
sendCustomDatarenamed tosendDeviceData.Added
validityPeriodUTCmaintenancePeriodUTClastCheckDateUTCProductDetailsinformation now also available for offline activated licenses, seeLicense getProductDetails.Added
License ownerAdded
License isMaintenancePeriodExpiredAdded
LicenseManager isOnlineAdded new
LicenseManager getTrialLicensemethod. It accepts Customer object, when issuing trial license also new customer will be created or license will be assigned to existing customer.Updated documentation.
Mac December 27, 2019
Added new API request
GetProductDetails, new classProductDetails.Added
LicenseSpringConfiguration.getAPIVersionproperty. 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.createLicenseandLicenseManager.createOrder.New classes
Customer,OrderDetailsandLicenseDetails.Improved samples.
Mac December 11, 2019
User-based licensing
Offline licensing. New API methods -
getOfflineActivationFile,activateLicenseOfflineanddeActivateOffline.Added new methods
isOfflineActivated.Added new methods
maxActivationsandtimesActivated.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.
Mac November 28, 2019, v4.5.0
Fixed incorrect work of the SDK when product configured to have more than 2 letters short-code.
Updated code style
Fixed bug with LicenseStatus
Mac September 11, 2019, v4.4.1
Added new feature - Custom product (license) data fields, see
getcustomFieldsinLicenseand CustomField.hImproved 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.
May 6, 2019, v4.3.0
Consumption licensing
Global optimizations, significant improvements in the SDK architecture and design
Added Swift sample
April 18, 2019, v4.2.1
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.
April 15, 2019, v4.1.0
License status,
isActivenow replaced withLicenseStatusfor the License class, for more details see LicenseStatus.hFixed build error due to missed header in License.h
April 4, 2019, v4.0.7
fixed non-compilable code and add staging variable for Debug/Release configuration
April 3, 2019, v4.0.6
in case of no internet connection or other connectivity issue,
CheckLicensewill return the current License (if available)
April 2, 2019, v4.0.5
removed
isEnabledproperty from License objectadded
isExpiredproperty 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?