Setup With Swift Package Manager
The Olo Digital Wallets SDK supports Swift Package Manager (SPM). For more information about SPM and how it works, refer to the Swift Package Manager site. This guide will walk through adding the Olo Digital Wallets SDK to your app using Swift Package Manager.
Important
If you have manually added the Olo Digital Wallets SDK as a dependency to your project and are now switching to using Swift Package Manager, please manually remove the Olo Digital Wallets SDK dependency from your project and then follow the First Time Setup instructions
First Time Setup
In Xcode, choose
File --> Add Package Dependencies...Note
Some versions of Xcode say
Add Packages...In the search bar, enter the iOS SDK Repo url:
https://github.com/ololabs/pay-digitalwallets-ios-sdk-releasesSelect the
pay-digitalwallets-ios-sdk-releasespackageSelect your dependency rules and click the
Add Packagebutton
SDK Updates
In Xcode, right-click on OloDigitalWalletsSDK under Package Dependencies and select Update Package