zuuppaDEV
Swift SDK

Installation

The SDK is distributed as a Swift package. Add it with Swift Package Manager, either through Xcode or your Package.swift.

Requirements

  • iOS 17 or later
  • Xcode 16+ (Swift tools 6.2)

The SDK depends on Stripe’s iOS SDK (stripe-ios 24.x), which powers the card / Apple Pay payment sheet. SwiftPM resolves it automatically.

Add in Xcode

  1. Open your project, then File → Add Package Dependencies…
  2. Enter the Zuuppa SDK package URL.
  3. Add the zsdk_swift library product to your app target.

Add in Package.swift

Package.swift
dependencies: [
    .package(url: "https://github.com/zuuppa/zsdk_swift.git", from: "1.0.0"),
],
targets: [
    .target(
        name: "YourApp",
        dependencies: [
            .product(name: "zsdk_swift", package: "zsdk_swift"),
        ]
    ),
]
Replace the package URL with the one Zuuppa provides for your account. The product/library name to link is always zsdk_swift.

Import

swift
import zsdk_swift

Next

→ Add checkout