Skip to main content
Version: 1.7

Installation

We provide SDKs for developing projects in: NodeJS, Go, React Native (Android and iOS), Web projects, Kotlin for Android, and Swift for iOS.

Obtaining Credentials

To obtain the necessary credentials for accessing the Sodot JFrog Artifactory repository, use our guide here.

Minimum Requirements for Installation

  • iOS target version 14.0 or higher (i.e. platforms: [.iOS(.v14)])
  • Swift 5.10 or higher

Swift

To use the Sodot Swift SDK in your Swift project, follow these installation steps:

  1. Follow the instructions in the Obtaining Credentials section to obtain your credentials and log into the JFrog Artifactory repository.

  2. Add the following dependency to your Package.swift file:

dependencies: [
.package(
id: "sodot.SodotSdk",
from: "1.7.0")
],
  1. Set it as a dependency for your target:
.target(
name: "YourTargetName",
dependencies: [
.product(name: "SodotSdk", package: "sodot.SodotSdk")
]
)
  1. Fetch the package dependencies by running the following command in your terminal:
swift package resolve

Usage

After installation, you can import the SDK classes in your Swift code by importing the package:

import SodotSdk

You can now start generating keys and signing. Refer to the Getting Started guide for next steps.