# iOS UITest loosing connection to simulator

**URL:** <https://discuss.circleci.com/t/ios-uitest-loosing-connection-to-simulator/30964>\
**Category:** Bug Reports\
**Tags:** ios\
**Created:** [June 20, 2019, 7:08pm UTC](https://discuss.circleci.com/t/ios-uitest-loosing-connection-to-simulator/30964 "2019-06-20T19:08:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mylegfeelsfunny](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/mylegfeelsfunny/32/19233_2.png) [@mylegfeelsfunny](https://discuss.circleci.com/u/mylegfeelsfunny)\
**Post date:** [June 20, 2019, 7:08pm UTC](https://discuss.circleci.com/t/ios-uitest-loosing-connection-to-simulator/30964/1 "2019-06-20T19:08:55Z")

</div>

We are running our UI tests through Fastlane on a MacOS machine.  
defaults: &defaults  
macos:  
xcode: “10.2.1”  
environment:  
FL\_OUTPUT\_DIR: output  
shell: /bin/bash --login -o pipefail

Some tests are consistently loosing connection to the simulator.  
Here is a sample log.

```
✓ testPortfolioScreen_InvestAccount (32.446 seconds)
✓ testPortfolioScreen_RetireAccount (32.886 seconds)
AddFundingCardTests
✗ testAddFundingCardScreen_isDisplayed, Lost connection to the application (pid 6391).
✗ testAddFundingCardWithCompleteUser, Lost connection to the application (pid 6404).
✗ testAddFundingCardWithIncompleteUser, Lost connection to the application (pid 6417).
✗ testWhenAddFundingCard_andCashBackEnrollment_getSignUpStatus, Lost connection to the application (pid 6425).
✗ testWhenAddFundingCard_fails_displaysAlert, Lost connection to the application (pid 6434).
AutoFundDeeplinkTests
✓ test_whenAutoFundDeeplinkInvoked_autoFundFeedShown (61.751 seconds)
✓ test_whenEnrolledBankRelinkLoginDeeplinkInvoked (34.248 seconds)

```

We run the same Fastlane job on our local and the tests pass. What is causing this?

---

<div class="post-metadata">

**Author:** ![SandraNPR](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/sandranpr/32/23216_2.png) [@SandraNPR](https://discuss.circleci.com/u/SandraNPR)\
**Post date:** [September 17, 2019, 9:05pm UTC](https://discuss.circleci.com/t/ios-uitest-loosing-connection-to-simulator/30964/2 "2019-09-17T21:05:35Z")

</div>

Was there a resolution to this? I’m running into the same issue.

---

<div class="post-metadata">

**Author:** ![vaijeyanthi-qa](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/vaijeyanthi-qa/32/26864_2.png) [@vaijeyanthi-qa](https://discuss.circleci.com/u/vaijeyanthi-qa)\
**Post date:** [March 6, 2021, 7:13pm UTC](https://discuss.circleci.com/t/ios-uitest-loosing-connection-to-simulator/30964/3 "2021-03-06T19:13:23Z")

</div>

Is there any update on the same? I have same issue as well.
