SDK Integration

Integrating the Pensa SDK is straightforward with Swift Package Manager. Take advantage of Swift's intuitive syntax and powerful features to quickly add advanced shelf recognition to your iOS app.

To start your integration for Pensa SDK into your project using SPM, continue with the steps below:

  1. Open your project in Xcode and select File > Add Package Dependencies.

  1. Enter the Pensa iOS SDK GitHub repo URL (https://github.com/aws-amplify/amplify-swift) into the search bar.

  2. You'll see the Pensa iOS SDK repository information for which version of Pensa SDK you want Swift Package Manager to install. Choose Up to Next Major Version and enter 1.0.0 as the minimum version for the Dependency Rule, then click Add Package.

  1. Select your app target and click on Add Package.

  1. Once the package is added, verify its integration by checking the Build Phases tab in your project settings to ensure the package is correctly listed under Link Binary With Libraries.

Last updated

Was this helpful?