Skip to main content

Installation

Install

Prerequisites

This SDK is built using Xcode 16 with the Swift 6 toolchain but remains compatible with Swift 5. Ensure you have the correct version installed for compatibility.

  • Xcode 16 (or later)
  • Swift 5 toolchain
  • iOS 15.6+ supported
note

Starting from version 3.0.0, the SDK will require Xcode 26.0+ and the Swift 6 toolchain.

Important: Add -ObjC Linker Flag

To ensure full functionality of the SDK, you must add the -ObjC flag to your app target.

Swift Package Manager (SPM)

You can integrate the SDK using Swift Package Manager. Add the following dependency to your project:

dependencies: [
.package(url: "https://github.com/bambuser/bambuser-commerce-sdk-ios", from: "1.0.0")
]

Please check our latest release versions here


Manual Installation

If you prefer to integrate the SDK manually, follow these steps:

  • Download BambuserCommerceSDK.xcframework from releases page
  • Drag and drop xcframework file to your project