Setup With Carthage

The Olo Pay SDK supports the CocoaPods dependency management system. For more information about CocoaPods and how it works, refer to the CocoaPods Guides. This guide will walk through adding the Olo Pay SDK to your app using CocoaPods.

First Time Setup


  1. Install CocoaPods
  2. Create development and production targets for your app if you don’t have them already
  3. For each target in your Podfile, add the Olo Pay SDK with the following code

    pod 'OloPaySDK', :git => "https://github.com/ololabs/olo-pay-ios-sdk-releases.git", :tag => '2.1.0'

  4. Run the following command to install the Olo Pay SDK pod

    pod install

  5. Open the workspace generated (or modified) by CocoaPods and begin using the Olo Pay SDK

SDK Updates


  1. Update the Olo Pay SDK version in your Podfile
  2. Run the following command toupdate the Olo Pay SDK pod

    pod update