> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pipecat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# iOS SDK Overview

> Build iOS applications with Pipecat’s Swift client library

The Pipecat iOS SDK provides a Swift implementation for building voice and multimodal AI applications on iOS. It handles:

* Real-time audio streaming
* Bot communication and state management
* Media device handling
* Configuration management
* Event handling

## Installation

Add the SDK to your project using Swift Package Manager:

```swift theme={null}
// Core SDK
.package(url: "https://github.com/pipecat-ai/pipecat-client-ios.git", from: "1.0.0"),

// Daily transport implementation
.package(url: "https://github.com/pipecat-ai/pipecat-client-ios-daily.git", from: "1.0.0"),
```

Then add the dependencies to your target:

```swift theme={null}
.target(name: "YourApp", dependencies: [
    .product(name: "PipecatClientIOS", package: "pipecat-client-ios")
    .product(name: "PipecatClientIOSDaily", package: "pipecat-client-ios-daily")
]),
```

## Example

Here's a simple example using Daily as the transport layer:

```swift theme={null}
import PipecatClientIOS
import PipecatClientIOSDaily

let pipecatClientOptions = PipecatClientOptions.init(
    transport: DailyTransport.init(),
    enableMic: currentSettings.enableMic,
    enableCam: false,
)
self.pipecatClientIOS = PipecatClient.init(
    options: pipecatClientOptions
)
let startBotParams = APIRequest.init(endpoint: URL(string: $PIPECAT_API_URL + "/connect")!)
self.pipecatClientIOS?.startBotAndConnect(startBotParams: startBotParams) { (result: Result<DailyTransportConnectionParams, AsyncExecutionError>) in
    switch result {
    case .failure(let error):
        // handle error
    case .success(_):
        // handle success
    }
}
```

## Documentation

<CardGroup cols={2}>
  <Card title="API Reference" icon="book" href="/api-reference/client/ios/api-reference">
    SDK API documentation
  </Card>

  <Card title="Transport Packages" icon="network-wired" href="/api-reference/client/ios/transports/daily">
    Daily, Gemini, OpenAI WebRTC, and SmallWebRTC transports
  </Card>

  <Card title="Source" icon="github" href="https://github.com/pipecat-ai/pipecat-client-ios/">
    Pipecat Client iOS on GitHub
  </Card>

  <Card title="Demo" icon="play" href="https://github.com/pipecat-ai/pipecat-examples/tree/main/simple-chatbot/client/ios">
    Simple Chatbot Demo
  </Card>
</CardGroup>
