You can install Gini Capture SDK either by using Swift Package Manager or by 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, add GiniBankSDK
as a dependency and add it to the dependencies value of your Package.swift
:
dependencies: [ .package(url: "https://github.com/gini/bank-sdk-ios.git", .exact("3.4.0")) ]
Available from iOS 12.
In case you want to use the certificate pinning in the library, add GiniBankSDKPinning
:
dependencies: [ .package(url: "https://github.com/gini/bank-sdk-pinning-ios.git", .exact("3.4.0")) ]
XCFrameworks
If you prefer not to use a dependency management tool, integrate Gini Capture SDK into your project manually by adding the following frameworks to your project:
GiniBankAPILibrary.xcframework
GiniCaptureSDK.xcframework
GiniBankSDK.xcframework
.
In case you want to use the certificate pinning, add the following frameworks:
GiniBankAPILibrary.xcframework
GiniBankAPILibraryPinning.xcframework
GiniCaptureSDK.xcframework
GiniCaptureSDKPinning.xcframework
GiniBankSDK.xcframework
GiniBankSDKPinning.xcframework
TrustKit.xcframework
The latest version of the frameworks is available on github.