Manual Setup
The Olo Pay SDK supports the Carthage dependency management system, but if you don’t use Carthage 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
- 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