# Unable to launch iOS 7.1 Simulator test with Xcode 6+

**URL:** <https://discuss.appium.io/t/unable-to-launch-ios-7-1-simulator-test-with-xcode-6/2398>\
**Category:** Issues/Bugs\
**Created:** [January 15, 2015, 9:48am UTC](https://discuss.appium.io/t/unable-to-launch-ios-7-1-simulator-test-with-xcode-6/2398 "2015-01-15T09:48:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amake](https://discuss.appium.io/user_avatar/discuss.appium.io/amake/32/5260_2.png) [@amake](https://discuss.appium.io/u/amake)\
**Post date:** [January 15, 2015, 9:48am UTC](https://discuss.appium.io/t/unable-to-launch-ios-7-1-simulator-test-with-xcode-6/2398/1 "2015-01-15T09:48:04Z")

</div>

I have an app that I am trying to test in the iOS Simulator with Appium 1.3.4 and Xcode 6.1.1. The simulator launches and Instruments connects correctly when I specify platformVersion: 8.1, but when I specify platformVersion: 7.1 it seems that Instruments will almost always fail to connect.

Here is a typical failure log: [https://gist.github.com/amake/cc8c0859d0b544e78d14](https://gist.github.com/amake/cc8c0859d0b544e78d14)

More specifically, very rarely it will connect once, but then will fail to connect on all subsequent attempts until somehow it is reset, and the pattern starts over. I’m not sure what causes it to be reset, but I have tried things like xcode-select’ing different Xcode versions, rebooting, etc. None seem to work reliably.

Other pertinent details:

- The app runs fine in the iOS Simulator 7.1 if launched from Xcode.
- Reverting to Xcode 6.1 or Xcode 6.0.1 does not fix the problem.
- Rebooting does not fix the problem.
- Reverting to Appium 1.3.1 does not fix the problem.

Any ideas?

---

<div class="post-metadata">

**Author:** ![amake](https://discuss.appium.io/user_avatar/discuss.appium.io/amake/32/5260_2.png) [@amake](https://discuss.appium.io/u/amake)\
**Post date:** [January 16, 2015, 6:12am UTC](https://discuss.appium.io/t/unable-to-launch-ios-7-1-simulator-test-with-xcode-6/2398/2 "2015-01-16T06:12:15Z")

</div>

I forgot to mention that I’m running Yosemite (OS X 10.10.1).

In fact this issue is reproducible in a freshly installed Yosemite VM with Appium.app 1.3.4 and Xcode 6.1.1.

1. Open Appium.app and set app path, device = iPhone 5s, platform version = 7.1.
2. Click Launch button.
3. Click Inspector button.
4. The app will launch correctly and the Inspector will succeed once.
5. Close the Inspector and click the Stop button.
6. Click Launch and Inspector buttons again. This time and all successive times, the app will fail to launch.
