Manual Setup
The Olo Pay SDK supports both Carthage and CocoaPods dependency management systems, but if you don’t use them to manage all your dependencies you may want to manually add the Olo Pay SDK and it’s dependencies to your project.
Note
You will still need to install Carthage because that is what the Olo Pay SDK uses to manage it’s dependencies.
First Time Setup
- Install Carthage
- From a terminal navigate to the Olo Pay SDK’s root folder and run
./carthage-update.sh
- Drag
src/OloPaySDK/OloPaySDK.xcodeproj
to your Xcode project’sFrameworks
folder - In your .xcodeproj configuration, do the following
- Create production and development targets for your project if you don’t have them already
- For each target, go to
General > Frameworks, Libraries, and Embedded Content
- Drag and drop the following frameworks from the
Carthage/Build
folder- Stripe.xcframework
- StripeCore.xcframework
- StripeUICore.xcframework
- Stripe3DS2.xcframework
- StripeApplePay.xcframework
- StripePayments.xcframework
- StripePaymentsUI.xcframework
- Click the
+
button and addOloPaySDK.framework
- Make sure all frameworks are set to
Embed & Sign
- Drag and drop the following frameworks from the
SDK Updates
- From a terminal navigate to the Olo Pay SDK’s root folder and run
./carthage-update.sh
- Add any missing Stripe frameworks listed above
Important
If you have manually added the Olo Pay SDK as a dependency to your project prior to v2.1.0 and are updating to v2.1.0 or newer, please manually remove all Olo Pay and Stripe dependencies from your project and then follow the First Time Setup
instructions