Mac OSX 10.10.5
Xcode 7.2.0
iOS 9.2 Simulator
Python 2.7.11
Appium Server 1.5
I've observed that my iOS Simulator is specifically started TWICE for every single test. So a test that physically takes 10 seconds to execute is taking 90+ seconds waiting for the sim to boot twice and cleanup when completed. I don't recall this happening last year (older Appium / Xcode) when I was last working on Appium.
I do not have fullReset specified in desired capabilities.
I see this logging during the first launch of the sim.
[debug] [iOS] Cleaning sim state.
[debug] [iOSSim] Cleaning app data files for 'xxxxxxxx.app', 'com.xxxxx.xxxxxxxx'
[iOSSim] Attempted to get an app path from a fresh simulator quickly launching the sim to populate its directories
[debug] [iOSSim] Attempting to launch and quit the simulator, to create directory structure
[debug] [iOSSim] Will launch with Safari? false
[iOSSim] Starting simulator with command: open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 5FA918BC-F429-494E-9997-CF3A0FD08970
[iOSSim] Tailing simulator logs until we encounter the string "System app "com.apple.springboard" finished startup"
[iOSSim] We will time out after 60000ms
[debug] [iOSSim] Waiting and extra 2000ms for the simulator to really finish booting
[debug] [iOSSim] Done waiting extra time for simulator
[iOSSim] Simulator booted in 22300ms
[debug] [iOSSim] Killing all iOS Simulators
[debug] [iOSSim] Building bundle path map
[debug] [iOSSim] Building bundle path map
[debug] [iOSSim] Could not find app directories to delete. It is probably not installed
Then it launches the simulator again at which point the test physically executes.
Then rinse and repeat for every.... single... test... 