Introduction

1 min read

The Swift SDK adds the Footprint onboarding flow to your iOS app.

Minimum version requirements

The Swift SDK requires a minimum deployment target of 14.0 or above. Older targets can cause unexpected issues or stop the package from working.

Installation

Swift Package Manager

Add the Footprint package to the dependencies in your Package.swift:

swift
1dependencies: [
2    .package(url: "https://github.com/onefootprint/Swift-Onboarding-Components", from: "<VERSION>")
3]

You can also install Footprint through the Swift Package Index, or in Xcode through File > Add Package Dependencies... by searching for "Footprint".

CocoaPods

To add FootprintSwift to your Xcode project with CocoaPods, specify it in your Podfile:

ruby
1pod 'FootprintOnboardingComponents', :git => 'https://github.com/onefootprint/Swift-Onboarding-Components.git'

Next steps

  • Onboarding (KYC/KYB) starts an onboarding from your app and handles the validation token it returns.