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

  1. Install Carthage
  2. From a terminal navigate to the Olo Pay SDK’s root folder and run ./carthage-update.sh
  3. Drag src/OloPaySDK/OloPaySDK.xcodeproj to your Xcode project’s Frameworks folder
  4. In your .xcodeproj configuration, do the following
    1. Create production and development targets for your project if you don’t have them already
    2. For each target, go to General > Frameworks, Libraries, and Embedded Content
      1. 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
      2. Click the + button and add OloPaySDK.framework
      3. Make sure all frameworks are set to Embed & Sign

SDK Updates

  1. From a terminal navigate to the Olo Pay SDK’s root folder and run ./carthage-update.sh
  2. 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