Skip to main content
The ClickTerm iOS SDK is available as a prebuilt XCFramework from the ClickTerm CDN. You can add it to your app without access to the SDK source repository.
Latest SDK versions: Web 2.5.0 · Android 2.4.0 · iOS 1.3.0 · React Native 1.2.0View changelog

Requirements

  • iOS 15.0+
  • Swift 5.9+
  • Xcode 15.0+

Choose an installation method

Use a small local Swift package to bring the CDN-hosted XCFramework into your app.Create a folder for the package, add a Package.swift file, and paste:
Package.swift
In Xcode, choose File → Add Package Dependencies… → Add Local…, select the package folder, then add the ClicktermSDK product to your app target.
The checksum belongs to this exact SDK version. When upgrading, update the version in the URL and use the checksum from that version’s manifest.json.

Initialize the SDK

Import and initialize ClickTerm once when your app starts:
Get your App ID from the Integrations page in the ClickTerm Dashboard.
Never expose your App Key in client-side code. The App Key is used only for backend verification calls. The client SDK uses only the App ID. Store the App Key safely — it won’t display again after creation, but can be regenerated. Regenerating the key requires updating your backend configuration.

Next steps

iOS quickstart

Display and verify your first clickwrap.

ClicktermClient

Initialize and manage the SDK.

ClicktermDialog

Display clickwrap agreements in your app.