# start_simulator

> 기기의 공유 팀 iOS Simulator를 시작하거나, 이미 실행 중이면 합류하고, 준비될 때까지 기다리는 MCP 도구입니다.

Source: https://air.build/ko/docs/mcp-tools/start_simulator/

`start_simulator`는 한 기기의 팀 Simulator를 시작하고, 준비될 때까지 최대 약 2분 동안 기다립니다. Simulator가 이미 실행 중이면(AirBuild 앱이나 팀의 에이전트가 시작했을 수 있음) 두 번째를 시작하지 않고 그 Simulator에 합류합니다. 팀은 기기마다 Simulator 하나를 가지며, 앱의 Simulator 패널, 팀의 에이전트, 모든 MCP 클라이언트가 이를 공유합니다. 기기에서 아무것도 바꾸거나 삭제하지 않으므로 다시 호출해도 문제없습니다.

Simulator는 시작하는 데 몇 분 걸릴 수 있습니다. 대기 시간이 먼저 끝나면 결과에 `starting`이 표시됩니다. 1분 뒤에 `start_simulator`를 다시 호출하세요. Simulator는 누군가 사용하는 동안, 그리고 어떤 Simulator 도구든 마지막 호출 후 약 5분 동안 켜져 있습니다. 실행 시간은 앱의 Simulator와 마찬가지로 팀 소유자의 요금제에서 차감됩니다.

다른 모든 `simulator_` 도구는 Simulator가 실행 중이어야 하며, 모두 [모든 Simulator 도구가 반환할 수 있는 오류](https://air.build/ko/docs/mcp-tools/start_simulator/#device-errors)에 나온 오류를 반환합니다.

| 읽기 전용 | 파괴적 | 멱등 |
| --- | --- | --- |
| 아니요 | 아니요 | 예 |

## 입력

| 입력 | 유형 | 필수 | 기본값 | 설명 |
| --- | --- | --- | --- | --- |
| `teamId` | 문자열 (UUID) | 예 | — | 팀. [list_teams](https://air.build/ko/docs/mcp-tools/list_teams/)에서 가져옵니다 |
| `simulator` | string | 아니요 | 팀의 기본 기기 | 어떤 기기인지. [list_simulators](https://air.build/ko/docs/mcp-tools/list_simulators/#result)의 `id` |

## 결과

| 필드 | 내용 |
| --- | --- |
| `id` | 기기의 id |
| `name` | 기기의 이름 |
| `runtime` | 실행하는 iOS 버전. `state`가 `running`일 때만 |
| `state` | 준비되면 `running`, 아직 시작 중이면 `starting` |
| `note` | `starting`일 때만: `Still starting. Call start_simulator again in a minute.` |

```json
{ "id": "iphone-example", "name": "iPhone", "runtime": "iOS 27.0", "state": "running" }
```

## 오류

| Message | 발생 조건 | 해결 방법 |
| --- | --- | --- |
| No Simulator _id_. Offered: _ids_. | `simulator`가 제공되는 기기 id가 아님 | [list_simulators](https://air.build/ko/docs/mcp-tools/list_simulators/)의 `id`를 사용하세요 |
| AirBuild offers no Simulator right now. | 지금은 제공되는 기기가 없음 | 나중에 다시 시도하세요 |
| _name_ is not available right now. Choose another device. | 지금은 그 기기를 시작할 수 없음 | [list_simulators](https://air.build/ko/docs/mcp-tools/list_simulators/)에서 다른 기기를 고르세요 |
| Cloud Builds and Previews are used up for this billing period, and you have no credits left. Buy credits or change your plan to keep going. | 팀 소유자의 요금제에 Simulator 시간이 남지 않음. 이미 실행 중인 Simulator에 합류하는 것은 여전히 가능함 | 팀 소유자가 크레딧을 구매하거나 요금제를 바꿉니다 |
| Team not found. | 그 팀의 구성원이 아님 | [list_teams](https://air.build/ko/docs/mcp-tools/list_teams/)에서 얻은 `teamId`를 사용하세요 |
| This account's Simulator time and credits are used up. | 시작하는 동안 팀 소유자의 요금제가 소진되어 Simulator가 중지됨 | 팀 소유자가 크레딧을 구매하거나 요금제를 바꿉니다 |
| _device_ is no longer offered. Start the Simulator again to use another device. | 시작하는 동안 기기 제공이 중단됨 | 다른 기기를 시작하세요 |
| The _name_ Simulator could not start. Try again. | 이유 없이 시작에 실패함 | `start_simulator`를 다시 호출하세요 |

### 모든 Simulator 도구가 반환할 수 있는 오류

실행 중인 Simulator에서 동작하는 모든 도구(모든 `simulator_` 도구)가 이 오류를 반환할 수 있습니다. Simulator 자체의 거부는 Simulator가 쓴 문장 그대로 반환되며, 세부 정보와 `Hint:`가 있으면 그 뒤에 붙습니다. 아래의 흔한 경우에는 도구가 해야 할 일을 덧붙입니다.

| Message | 발생 조건 | 해결 방법 |
| --- | --- | --- |
| The _name_ Simulator is not running. Start it with start_simulator. | 그 기기의 팀 Simulator가 꺼져 있음 | `start_simulator`를 호출하세요 |
| The _name_ Simulator is still starting. Call start_simulator to wait for it. | 시작 중임 | 기다려 주는 `start_simulator`를 호출하세요 |
| No Simulator _id_. Offered: _ids_. | `simulator`가 제공되는 기기 id가 아님 | [list_simulators](https://air.build/ko/docs/mcp-tools/list_simulators/)의 `id`를 사용하세요 |
| Could not reach the Simulator. It may be restarting — try again, or call start_simulator. | Simulator가 응답하지 않음 | 다시 시도하세요. 계속 실패하면 `start_simulator`를 호출하세요 |
| _…_ The connection to the Simulator dropped; try again. | 호출 중에 연결이 끊김 | 다시 시도하세요 |
| The Simulator answered _status_. | Simulator가 설명 없이 거부함 | 입력을 확인하고 다시 시도하세요 |
| _…_ Call simulator_heal to take input back (it restarts SpringBoard, so relaunch the app after). | Xcode의 Device Hub가 입력을 가져가고 있음. 메시지 첫머리에 그렇게 나오며, 탭, 입력, 버튼은 성공으로 보고되지만 아무 효과가 없음 | [simulator_heal](https://air.build/ko/docs/mcp-tools/simulator_heal/)을 호출한 뒤 앱을 다시 실행하세요 |
| _…_ The app in front is busy; try again in a few seconds. | 앞에 있는 앱이 제때 손쉬운 사용 데이터를 주지 않음 | 몇 초 뒤에 다시 시도하세요 |
| _key_ must be a number from _min_ to _max_. | 숫자 입력이 범위를 벗어났거나 숫자가 아님 | 도구 페이지에 나온 범위 안의 숫자를 보내세요 |
| _key_ must be one of _values_. | 정해진 값만 받는 입력에 다른 값이 들어옴 | 나열된 값 중 하나를 사용하세요 |

## 예시

```json
{"name": "start_simulator", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000"}}
```
