Starting with the 6.5.0 release, Usabilla supports installation via Swift Package Manager.
- Requires Xcode 12.
- iOS support is only available.
If you've previously used CocoaPods, remove them from the project with pod deintegrate
.
Install Usabilla via Swift Package Manager:
Select the Usabilla GitHub repository - https://github.com/usabilla/usabilla-u4a-ios-swift-sdk.git
:
Select the version.
Note: Starting with the 6.5.0 release.
Choose the Usabilla product to be installed in your app.
To integrate via a Package.swift
manifest instead of Xcode, you can add
Usabilla to your dependencies array of your package with:
dependencies: [
.package(name: "Usabilla",
url: "https://github.com/usabilla/usabilla-u4a-ios-swift-sdk.git",
from: "X.Y.Z")
],
Then in any target that depends on a Usabilla product, add it to the dependencies
array of that target:
.target(
name: "YourProjectTarget",
dependencies: [
.product(name: "Usabilla", package: "Usabilla"),
]
),