...
You can install Gini Bank SDK either by using Swift Package Manager or by adding XCFrameworks to your project.
...
Swift Package Manager
To install Gini Bank SDK as a Once you have your Swift package , follow these steps:
...
In project settings, find package dependencies, and click +.
...
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.0.0 |
...
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 +.
...
"))
] |
Info |
---|
Availible from iOS 12 |
Code Block |
---|
dependencies: [ .package(url: "https://github.com/gini/bank-sdk-pinning-ios.git |
...
", .exact("3.0.0 |
...
"))
] |
...
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:
...