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.
IMPORTANT: If you have manually added the Olo Pay SDK as a dependency to your project and are now switching to using CocoaPods, please manually remove all Olo Pay and Stripe dependencies from your project and then follow the
First Time Setup
instructions
First Time Setup
- Install CocoaPods
- Create development and production targets for your app if you don’t have them already
For each target in your Podfile, add the Olo Pay SDK with the following code
pod 'OloPaySDK', :git => "https://git@github.com/ololabs/olo-pay-ios-sdk-releases.git", :tag => 'v2.1.0'
Run the following command to install the Olo Pay SDK pod
pod install
Open the workspace generated (or modified) by CocoaPods and begin using the Olo Pay SDK
SDK Updates
- Update the Olo Pay SDK version in your Podfile
Run the following command toupdate the Olo Pay SDK pod
pod update