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
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?