Setup With CocoaPods
The Olo Digital Wallets 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 Digital Wallets SDK to your app using CocoaPods.
Important
If you have manually added the Olo Digital Wallets SDK as a dependency to your project and are now switching to using CocoaPods, please manually remove the Olo Digital Wallets SDK dependency from your project and then follow the First Time Setup instructions
First Time Setup
- Install CocoaPods
For each target in your Podfile, add the Olo Digital Wallets SDK using the tag of the desired Olo Digital Wallets SDK release:
pod 'OloDigitalWalletsSDK', :git => "https://git@github.com/ololabs/pay-digitalwallets-ios-sdk-releases.git", :tag => 'X.Y.Z'Important
Don’t forget to replace X.Y.Z with an actual version number (e.g. “1.0.0”). Visit our github releases page to see all available releases
Run the following command to install the Olo Digital Wallets SDK pod
pod installOpen the workspace generated (or modified) by CocoaPods and begin using the Olo Digital Wallets SDK
SDK Updates
- Update the Olo Digital Wallets SDK version in your Podfile
Run the following command to update the Olo Digital Wallets SDK pod
pod updateNote
If you run into build issues, delete your
Podsfolder andPodfile.lockfile. Then runpod updateagain