Vouch logovouch
iOSInstallation

CocoaPods

Under Development: This SDK is currently in development. Documentation and API may change. For production use, please contact our team.

Requirements

Before installing the vouch iOS SDK, ensure your development environment meets the following requirements:

  • Xcode: 16.4 or later
  • iOS Deployment Target: iOS 14.0 or later
  • Minimal iOS version to perform a proof: iOS 16.4 or later
  • CocoaPods: 1.10.0 or later

Installation

If you're using CocoaPods for dependency management, you can integrate the vouch iOS SDK as follows:

Step 1: Add the pod to your Podfile

platform :ios, '14.0'

target 'YourApp' do
  use_frameworks!

  pod 'vouch-ios-sdk', '~> 0.0.4'
end

Step 2: Install the pod

pod install

Step 3: Open the workspace

After installation, make sure to open the .xcworkspace file (not the .xcodeproj) to work with your project:

open YourApp.xcworkspace

Important: Always use the .xcworkspace file after installing CocoaPods dependencies. Opening the .xcodeproj directly will result in missing dependencies.

Verification

After installation, verify the SDK is properly integrated by importing it in your Swift files:

import VouchSDK

Or in Objective-C:

#import <VouchSDK/VouchSDK-Swift.h>

If the import succeeds without errors, the SDK has been installed correctly. You can now proceed to the Usage Guide (Swift) or Usage Guide (Objective-C) to learn how to integrate verification flows into your application.