FlwKit
Sdk

Installation

Add the FlwKit iOS SDK to your Xcode project.

Requirements

Minimum
iOS15.0
Swift5.9
Xcode15.0 recommended

The SDK has no external dependencies.


Swift Package Manager

Add the package in Xcode

Go to File → Add Package Dependencies... and enter the repository URL:

https://github.com/FlwKit/flwkit_ios.git

Select Up to Next Major Version starting from 0.1.0, then choose your app target and click Add Package.

Verify the import

Add the import to any Swift file. If Xcode reports no error, the package is linked correctly.

import FlwKit_ios

Package.swift

If you maintain a library target, add FlwKit as a dependency:

// swift-tools-version: 5.9
import PackageDescription
 
let package = Package(
    name: "MyPackage",
    platforms: [.iOS(.v15)],
    dependencies: [
        .package(url: "https://github.com/FlwKit/flwkit_ios.git", from: "0.1.0")
    ],
    targets: [
        .target(
            name: "MyTarget",
            dependencies: [
                .product(name: "FlwKit-ios", package: "flwkit_ios")
            ]
        )
    ]
)

Next steps

On this page