Adding the SDK to Your App

There are 2 ways to add the SDK to your app:

  1. Swift Package Manager (recommended)
  2. Cocoapods (legacy)
🚧

CocoaPods will reach end of life later this year. For new integrations, use Swift Package Manager.

👍

Result:

The Mindbox package appears under Package Dependencies.



Instructions

  1. Open your project in Xcode.
  2. Go to File → Add Package
  3. Paste the Mindbox SDK repository URL:
    https://github.com/mindbox-cloud/ios-sdk
  4. Select the SDK version.
  5. Choose your Main Target and click Add Package