Swift Package Manager distribution for the AIHelp iOS SDK.
- iOS 9.0+
- Xcode 15+
In Xcode, choose File > Add Package Dependencies and enter:
https://github.com/AI-HELP/aihelp-ios-sdk.git
Or declare the dependency in Package.swift. Release versions are git tags.
dependencies: [
.package(url: "https://github.com/AI-HELP/aihelp-ios-sdk.git", from: "6.3.0")
]Add one product to each target:
- App target:
AIHelpSupportSDK. This links the SDK binary and the resource bundle. - Unity or an intermediate framework:
AIHelpSupportSDKCoreon the framework target, andAIHelpResourceson the final App target. The framework runs the SDK code. The App target is what makes Xcode copyAIHelpSupportSDK_AIHelpResources.bundleinto the.app.
Do not add AIHelpSupportSDK to both the framework and the App. That links the SDK binary twice.
.product(name: "AIHelpSupportSDK", package: "AIHelpSupportSDK")This repository contains the SDK package only. The sample project is sdk-ios-example.
- Documentation: https://docs.aihelp.net/