# Detox build timing out on IOS

**URL:** <https://discuss.bitrise.io/t/detox-build-timing-out-on-ios/12141>\
**Category:** Builds\
**Created:** [March 3, 2020, 4:06am UTC](https://discuss.bitrise.io/t/detox-build-timing-out-on-ios/12141 "2020-03-03T04:06:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rainbow](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rainbow/32/2815_2.png) [@rainbow](https://discuss.bitrise.io/u/rainbow)\
**Post date:** [March 3, 2020, 4:06am UTC](https://discuss.bitrise.io/t/detox-build-timing-out-on-ios/12141/1 "2020-03-03T04:06:37Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

I’m not able to test my iOS app using detox.  
The same exact config works fine locally using bitrise-cli but it fails on CI.

## Environment:

**Where did the issue happen?**

[Bitrise.io](http://Bitrise.io) using latest detox & react native.

**Which build Step causes the issue and which version of the step?**

detox build --configuration ios.sim.release  
detox test --configuration ios.sim.release --cleanup

## Reproducibility

- _Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build)_ : NO
- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can delete all the caches on the `Settings` tab of the app](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : NO
- _Does the issue happen sporadically, or every time?_ : Every time
- _Does upgrading the build Step to the latest version help?_ : NO
- _When did the issue start?_ : Since the beginning

### Local reproduction

_Can it be reproduced on your own Mac/PC by following our [local debug guide](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392)? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what [bitrise.io](http://bitrise.io) will get when it does a git clone in the clean environment! If possible please note which sections you tried._

Can’t reproduce locally

### Local reproduction: Linux / Android (docker based) stack builds

_Can it be reproduced by running the build locally, after doing a new git clone of the repository into the `/tmp` directory and running the build from there with the Bitrise CLI ( [Bitrise CLI](https://www.bitrise.io/cli) )? If no, can it be reproduced with Docker (using the same docker images / environment we use on [bitrise.io](http://bitrise.io))? Related guide: [Running your build locally in Docker](http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/) ._

No, the tests run locally fine using bitrise-cli.

## Build log

_Please copy paste the build’s [bitrise.io](http://bitrise.io) URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - [Contact us](https://www.bitrise.io/contact) ), with a link to the related Discuss issue._

> **[Build #142 (rainbow) - Bitrise CI - Bitrise](https://app.bitrise.io/build/39ca04f0c84a039a#?tab=log!%5B55%20PM%7C690x452%5D(upload://dPpnAJJJA55G5JecRQrWuH9WmCP.png))**
>
> Bringing back the joy of iOS & Android development through automating build, testing and support cycles.

---

<div class="post-metadata">

**Author:** ![rainbow](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rainbow/32/2815_2.png) [@rainbow](https://discuss.bitrise.io/u/rainbow)\
**Post date:** [March 5, 2020, 11:09pm UTC](https://discuss.bitrise.io/t/detox-build-timing-out-on-ios/12141/2 "2020-03-05T23:09:22Z")

</div>

I was able to make it work after making some changes on my end.

---

<div class="post-metadata">

**Author:** ![cathy.harmon](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/cathy.harmon/32/2674_2.png) [@cathy.harmon](https://discuss.bitrise.io/u/cathy.harmon)\
**Post date:** [March 11, 2020, 5:58pm UTC](https://discuss.bitrise.io/t/detox-build-timing-out-on-ios/12141/3 "2020-03-11T17:58:44Z")

</div>

Hello rainbow,

Thanks for posting. Could you let us know what steps you took to get this to work?

Thanks,  
cathy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [April 10, 2020, 5:58pm UTC](https://discuss.bitrise.io/t/detox-build-timing-out-on-ios/12141/4 "2020-04-10T17:58:46Z")

</div>

Closed on April 10, 2020, 5:58pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
