iOS
Swift SDK: Getting Started
Add real-time voice conversations to your iOS app with the Outspeed Swift SDK
Features
- Real-time voice conversations with AI
- Support for both Outspeed and OpenAI providers
- WebRTC-based audio streaming
- Customizable voice and model selection
- ElevenLabs Conversational AI compatibility
The Outspeed Swift SDK is fully compatible with the ElevenLabs Swift SDK. See our ElevenLabs Compatibility guide for migration details.
Installation
-
Open Your Project in Xcode
-
Go to
File
>Add Packages...
-
Enter Repository URL:
https://github.com/outspeed-ai/OutspeedSwift
-
Import the SDK
Ensure
NSMicrophoneUsageDescription
is added to your Info.plist to explain microphone access.Requirements
- iOS 15.2 or later
- Swift 6.1+
Basic Usage
Here’s the minimal code to get a voice conversation working:
Customization
System Prompt and First Message
Voice Selection
Complete Example
See a full iOS voice bot application example at our Examples Repository.