SDKiOS

iOS SDK

The Extentos iOS SDK for Meta Ray-Ban smart glasses — iOS 16+, Swift 6 toolchain, async/await. Published as a Swift package.

The Extentos iOS SDK is a Swift package — Extentos — that adds Meta Ray-Ban smart-glasses capabilities to your iOS app. It shares one Rust core with the Android SDK (exposed to Swift through uniffi-generated bindings), so capability primitives, transport selection, and the connection flow behave the same on both platforms.

The iOS SDK installs from github.com/extentos/swift-glasses as a standard SPM dependency — see Install. The fastest start on either platform is the agent-driven flow.

The pages

These pages are accurate against the current iOS source:

  • Install — adding the Swift package (Xcode, Package.swift, or xcodegen) and the agent-driven route
  • Info.plist setup — the required keys for the Meta DAT auth callback, accessory protocol, and privacy strings
  • InitializationExtentos.create(config:), the .onOpenURL auth handoff, and the sub-client surface
  • Threading modelSendable, async/await, and MainActor guidance
  • Lifecycle — startup and shutdown()
  • Runtime internals — how the iOS shell wraps the cross-platform core

Platform requirements

RequirementValue
Deployment targetiOS 16.0+
Swift toolchainSwift 6 (swift-tools-version: 6.0)
Language modeSwift 5 (.swiftLanguageMode(.v5)) — see Threading
Meta DAT (iOS) floormeta-wearables-dat-ios from 0.8.0

For the cross-platform model — what the Meta DAT toolkit provides vs what Extentos adds — see transport vs app simulation. For the same surface in Kotlin, see Android.