appium/appium — pull request #3267 by erlendfh (2014-07-31 14:16:31+00:00)
Title: Resolve iOS Simulator directory

If we have more than one iOS Simulator directory then this will try to filter out any that doesn't have an Applications folder. I suppose this still isn't fool proof, but it increases the odds of picking the right one significantly.