Installation
Dependencies
- PowerAuth SDK for Mobile Apps
- PowerAuth Networking for Apple platforms
- Wultra Device Fingerprint for Apple (closed source)
Supported operating systems
The library is supported by the following operating systems:
- iOS 12.0+
Swift Package Manager
The library is distributed as a package for Swift Package Manager:
- Create (or append to if already exists)
~/.netrc
file in your home directory with the following credentials you were provided alongside this document:machine wultra.jfrog.io login [[email protected]] password [password]
- Add the following repository as a dependency into your project:
https://github.com/wultra/activation-spawn-apple-release.git
You can use Xcode’s dedicated user interface to do this or add the dependency manually, for example:
// swift-tools-version:5.8 import PackageDescription let package = Package( name: "YourLibrary", products: [ .library( name: "YourLibrary", targets: ["YourLibrary"]), ], dependencies: [ .package(url: "https://github.com/wultra/activation-spawn-apple-release.git", .upToNextMajor(from: "2.0.0")), ], targets: [ .target( name: "YourLibrary", dependencies: [ .product(name: "WultraActivationSpawn", package: "activation-spawn-apple-release") ] ) ] )
Cocoapods
The library is also distributed through a public git repository, which contains a podspec and scripts to download the framework from a private artifactory. If you’re not using cocoapods in your project, visit usage guide.
-
Create (or append to if already exists)
~/.netrc
file in your home directory with the following credentials you were provided alongside this document:machine wultra.jfrog.io login [[email protected]] password [password]
-
Add pod to your
Podfile
:target 'MyProject' do use_frameworks! pod 'WultraActivationSpawn', :git => 'https://github.com/wultra/activation-spawn-apple-release.git', :tag => '2.0.0' end
You can check the latest versions of the libraries above on the release pages:
-
Run
pod install
in your project dictionary to make theWultraActivationSpawn
framework available in your project.