Skip to main content

Overview

An easy-to-install Swift package for connecting to Omi devices. Get started in seconds with local Whisper-based transcription - no cloud API required.

Swift Package

Native iOS/macOS support

Local Transcription

Whisper runs on-device

Simple API

Connect in minutes

Installation

1

Create a New Project

Open Xcode → File → New Project → iOS → App
Make sure to select Storyboard as the Interface option.
Xcode New Project
2

Add the Swift Package

  1. Navigate to File → Swift Packages → Add Package Dependency…
  2. Select your project
  3. Paste the repository URL: https://github.com/BasedHardware/omi
  4. Click Next
If you aren’t prompted to add the package to your target, click “Add Package” again, then “Add to Target” and choose your project.
Add Package to Target
3

Add Bluetooth Permission

Go to Targets → Your Project → Info and add this permission:

Quick Start

Get transcription working in 2 minutes:
1

Copy This Code

Replace your ViewController.swift with:
2

Build and Run

  1. Select your development team
  2. Connect your iPhone via cable (simulators don’t support Bluetooth)
  3. Run the project
3

Test It

  1. Turn on your Omi device
  2. The app should connect automatically
  3. Speak - you’ll see transcription in the Xcode console
There’s no UI in this example - transcription appears in the Xcode logs.
Xcode Console Output

API Reference

The OmiManager class provides all device interaction methods:

Device Scanning

Connection Management

Live Data


OmiManager Methods


License

MIT License - Omi’s Swift SDK is open source.

SDK Overview

Compare all available SDKs

GitHub Source

View source code and contribute