# Xcode-start-simulator: start multiple simulators in parallel

**URL:** <https://discuss.bitrise.io/t/xcode-start-simulator-start-multiple-simulators-in-parallel/22909>\
**Category:** Feature Requests\
**Created:** [June 19, 2023, 8:26am UTC](https://discuss.bitrise.io/t/xcode-start-simulator-start-multiple-simulators-in-parallel/22909 "2023-06-19T08:26:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathias.schreck](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mathias.schreck](https://discuss.bitrise.io/u/mathias.schreck)\
**Post date:** [June 19, 2023, 8:26am UTC](https://discuss.bitrise.io/t/xcode-start-simulator-start-multiple-simulators-in-parallel/22909/1 "2023-06-19T08:26:51Z")

</div>

## Description of the feature request

Starting a simulator without waiting until it is completely booted still takes between 20-80 seconds. Since I need 3 different simulators in one workflow, this could easily add 3 minutes to the total duration of the workflow. Ideally the duration of `xcode-start-simulator` would be always below 1 second. I did not expect them to take so long. But if this cannot be avoided it would be nice if I could boot those 3 simulators in parallel, so I can save round about 2 minutes.

---

<div class="post-metadata">

**Author:** ![mathias.schreck](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mathias.schreck](https://discuss.bitrise.io/u/mathias.schreck)\
**Post date:** [June 20, 2023, 10:44am UTC](https://discuss.bitrise.io/t/xcode-start-simulator-start-multiple-simulators-in-parallel/22909/2 "2023-06-20T10:44:13Z")

</div>

I’ve analyzed the slow startup of simulators a bit more. When I enable verbose logging I get

```auto
[10:29:36] $ xcrun "simctl" "list" "--json"
[10:30:00] Parsed simulator list in 24s

```

When I run this command locally it takes always less than a second. I wonder why this is so slow on bitrise and if there is any way to speed this up or at least to not wait for this operation, so that it runs in the background.

---

<div class="post-metadata">

**Author:** ![mathias.schreck](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mathias.schreck](https://discuss.bitrise.io/u/mathias.schreck)\
**Post date:** [June 20, 2023, 10:48am UTC](https://discuss.bitrise.io/t/xcode-start-simulator-start-multiple-simulators-in-parallel/22909/3 "2023-06-20T10:48:10Z")

</div>

Another idea if `simctl` is the problem maybe [`idb`](https://github.com/facebook/idb) would be a alternative.
