Overview
You can install Gini Capture SDK either by using Swift Package Manager or by adding XCFrameworks to your project.
Swift Package Manager
To install Gini Bank SDK as a Swift package, follow these steps:
In project settings, find package dependencies, and click +.
Start a search for the URL
https://github.com/gini/bank-sdk-ios.git
.In Dependency rule, select Exact version and type “3.0.0-beta04”.
Import the Gini Bank SDK with
import GiniBankSDK
.
To use the certificate pinning in the library, follow these steps:
In project settings, find package dependencies, and click +.
Start a search for the URL
https://github.com/gini/bank-sdk-pinning-ios.git
In Dependency rule, select Exact version and type “3.0.0-beta04”.
Import the Gini Bank SDK with
import GiniBankSDKPinning
.
XCFrameworks
If you prefer not to use a dependency management tool, you can integrate the Gini Bank SDK into your project manually by adding the following frameworks to your project:
GiniBankSDK.xcframework
GiniCaptureSDK.xcframework
GiniBankAPILibrary.xcframework
In case you want to use the certificate pinning, add the following frameworks:
GiniBankSDK.xcframework
GiniBankSDKPinning.xcframework
GiniCaptureSDK.xcframework
GiniCaptureSDKPinning.xcframework
GiniBankAPILibrary.xcframework
GiniBankAPILibraryPinning.xcframework
TrustKit.xcframework
The latest version of the frameworks is available on github.