For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Add the Hinkal iOS SDK to your project with Swift Package Manager.

Requirements

  • iOS 16.0+

  • Swift 5.7+

  • Xcode 15+

Add the package

The SDK is distributed as a Swift package. A prebuilt Hinkal.xcframework binary is attached to each GitHub release, and Swift Package Manager downloads and checksum-verifies it automatically - no git-lfs, no manual framework vendoring.

In Xcode

  1. File → Add Package Dependencies…

  2. Enter the package URL:

    https://github.com/Hinkal-Protocol/hinkal-sdk
  3. Choose the version (for example 0.1.1) and add the Hinkal library to your app target.

In Package.swift

For a SwiftPM-based project, add it to your dependencies:

dependencies: [
    .package(url: "https://github.com/Hinkal-Protocol/hinkal-sdk", from: "0.1.1")
],
targets: [
    .target(
        name: "YourApp",
        dependencies: [
            .product(name: "Hinkal", package: "hinkal-sdk")
        ]
    )
]

With XcodeGen

If your project uses XcodeGen, declare the package in project.yml:

Then run xcodegen generate.

Verifying installation

Last updated