calabash/calabash-ios — pull request #621 by jmoody (2014-11-21 03:58:37+00:00)
Title: Stabilize Travis CI for Xcode 6.1

### Motivation

Travis upgraded to Xcode 6.1. This required several fixes:

1. The Xcode 6 Reset App Sandbox specs needed an update; they used a iPad Air iOS 8.0 simulator which is not available on Xcode 6.1.
2. The test/cucumber cucumber profiles needed an update for Xcode 6.1

We are still struggling with the :preferences strategy on CoreSimulators. The fix [1] is pretty good, but we still have problems. Among the test/cucumber Features, there is a nice set of Scenarios that test the interaction between NSUserDefaults and the UIAutomation preferences API. It has been disabled since Travis migrated to Xcode 6.0 because the CoreSimulator environment was incredibly unstable. Travis has mostly stabilized [2] so I enabled these tests again.

Travis can now demonstrate that the :preference fix is not complete. We are failing ~3 out of 12 times (25%) because of the race condition that occurs between NSUserDefaults and the UIAutomation preferences API.

The **Allow 50% cuke failure rate on travis** commit [3] is a compromise. We need Travis to be stable because we have to make progress on other problems. We also _need_ to run the test/cucumber Scenarios again in Travis.

### Links

- [1] [Workaround preferences write issue](https://github.com/calabash/run_loop/pull/71)
- [2] http://blog.travis-ci.com/2014-11-03-xcode-61-beta/
- [3] b61d087