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 your iOS, macOS, watchOS, and tvOS projects.
Built using Swift 5.9 and compatible with Xcode 15.0, the Aidlab Apple SDK leverages Apple's Core Bluetooth technology to offer seamless connectivity and advanced features.
Installation
To integrate the Aidlab Apple SDK into your project using Swift Package Manager, follow these steps:
- Open your project in Xcode, then navigate to your project's settings and select the "Swift Packages" tab.
- Add a new package by clicking the "+" button.
- Enter the package repository URL:
https://github.com/Aidlab/aidlab-apple-sdk
. - Specify the version or branch you want to use. You can choose a specific version number, branch name, or commit hash.
- Link the package to your project's target by ensuring it's added to the correct target(s) in your project.
- Add the
NSBluetoothAlwaysUsageDescription
key to yourInfo.plist
file to ensure your app has permission to access Bluetooth.
Swift Package Manager will automatically fetch and integrate the SDK into your project. For more detailed instructions on using Swift Package Manager, check out Apple's official documentation.