Skip to main content
Before installing, check the iOS requirements (iOS 27.0+ · iPhone 12 or later · Xcode 27+).

Install with Swift Package Manager

1

Open Add Package

In Xcode, choose File → Add Package Dependencies….
2

Enter the repository URL

Enter the following URL and add the package.
3

Add to your target

Add the OneS1ghtSDK library to your app target.
The positioning engine (gpi-dltdoa) is bundled into the SDK as an xcframework. You only need to add this one package — no additional dependency setup is required.

Get an SDK key

Initialization requires an SDK key in the ock_sdk_... format. Issue one from the console at Mobile SDK Keys.
The full key value is shown only once, right after issuing. Store it somewhere safe.

Initialize

Initialize the SDK with your key when the app starts.
initialize(apiKey:) verifies the key and loads configuration. If the key is invalid, positioning does not start.

Next step

Usage

Continue to starting positioning, the main API, and receiving zone events.