SDK Integration

Requirements

Swift Package Manager

Add https://github.com/wultra/mtoken-sdk-ios repository as a package in Xcode UI and add WultraMobileTokenSDK library as a dependency.

Alternatively, you can add the dependency manually. For example:

// swift-tools-version:5.4
import PackageDescription
let package = Package(
    name: "YourLibrary",
    platforms: [
        .iOS(.v10)
    ],
    products: [
        .library(
            name: "YourLibrary",
            targets: ["YourLibrary"]
        ),
    ],
    dependencies: [
        .package(name: "WultraMobileTokenSDK", url: "https://github.com/wultra/mtoken-sdk-ios.git", .from("1.4.1"))
    ],
    targets: [
        .target(
            name: "YourLibrary",
            dependencies: ["WultraMobileTokenSDK"]
        )
    ]
)

Cocoapods

Ddd the following dependencies to your Podfile:

pod 'WultraMobileTokenSDK/Operations'
pod 'WultraMobileTokenSDK/Push'

Note: If you want to use only operations, you can omit the Push dependency.

Guaranteed PowerAuth Compatibility

WMT SDK PowerAuth SDK
1.0.x - 1.2.x 1.x.x
1.3.x 1.6.x
1.4.x 1.6.x

Xcode Compatibility

We recommend using Xcode version 13.2 or newer.

Last updated on Feb 03, 2022 (09:18) Edit on Github Send Feedback
Search

1.6.x

Mobile Token SDK for iOS