Page Properties | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
You can install Gini Bank Capture SDK either by using Swift Package Manager or by adding manually dragging the required XCFrameworks to your project.
Swift Package Manager
The Swift Package Manager is a tool for managing the distribution of Swift code. Once you have your Swift package set up, adding GiniBankSDK
as a dependency is as easy as adding it to the dependencies value of your Package.swift
Code Block | ||
---|---|---|
| ||
dependencies: [ .package(url: "https://github.com/gini/bank-sdk-ios.git", .exact("3.01.01")) ] |
...
Available from iOS 12
...
In case you want to use the certificate pinning in the library, add GiniBankSDKPinning
:
Code Block | ||
---|---|---|
| ||
dependencies: [ .package(url: "https://github.com/gini/bank-sdk-pinning-ios.git", .exact("3.01.01")) ] |
...
XCFrameworks
If you prefer not to use a dependency management tool, you can integrate the Gini Bank Capture SDK into your project manually by adding the following frameworks to your project:
GiniBankSDKGiniBankAPILibrary.xcframework
GiniCaptureSDK.xcframework
GiniBankAPILibraryGiniBankSDK.xcframework
.
In case that you want to use the certificate pinning , you need to add the following frameworks:
GiniBankSDKGiniBankAPILibrary.xcframework
GiniBankSDKPinningGiniBankAPILibraryPinning.xcframework
GiniCaptureSDK.xcframework
GiniCaptureSDKPinning.xcframework
GiniBankAPILibraryGiniBankSDK.xcframework
GiniBankAPILibraryPinningGiniBankSDKPinning.xcframework
TrustKit.xcframework
...