iOS, macOS, watchOS, tvOS
The Aidlab SDK for Apple platforms is available via Swift Package Manager, providing a modern and efficient way to integrate the SDK into iOS, macOS, watchOS, and tvOS projects. It leverages Core Bluetooth for connectivity.
Installation (SPM)
- Open your project in Xcode → Project settings → "Swift Packages" tab.
- Add package:
https://github.com/Aidlab/aidlab-apple-sdk. - Pick the latest stable tag, or pin the exact tag required by your release process.
- Link the package to the correct targets.
- Add
NSBluetoothAlwaysUsageDescriptiontoInfo.plistfor Bluetooth permission.
SPM will fetch and integrate the SDK automatically. See Apple’s docs for more on SPM usage.