Skip to content

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. Built using Swift 5.9 and compatible with Xcode 15.0, it leverages Core Bluetooth for connectivity.

Installation (SPM)

  1. Open your project in Xcode → Project settings → "Swift Packages" tab.
  2. Add package: https://github.com/Aidlab/aidlab-apple-sdk.
  3. Pick version/branch/commit as needed.
  4. Link the package to the correct targets.
  5. Add NSBluetoothAlwaysUsageDescription to Info.plist for Bluetooth permission.

SPM will fetch and integrate the SDK automatically. See Apple’s docs for more on SPM usage.