Se agotó el tiempo de espera de 120 segundos para que se inicie el simulador

Parece que el agente Teamcity (la versión TC es 9.0 EAP) no puede ejecutarseiOS Simulator a través de la prueba de shell script.

estoy usandoBuild Step: Command Line, que corriendoCustom Script y pasando params a ella. El agente Teamcity se lanzó en Mac OS X Yosemite 10.10 mediante el uso de un script de shell../bin/mac.launchd.sh.

Error del registro de compilación:

[12:33:24][Step 2/2] 2014-11-20 11:33:25.421 xcodebuild[28083:289783]  iPhoneSimulator: Timed out waiting 120 seconds for simulator to boot, current state is 1.
[12:33:24][Step 2/2] 
[12:33:24][Step 2/2] Testing failed:
[12:33:24][Step 2/2] Test target app-tests encountered an error (Timed out waiting 120 seconds for simulator to boot, current state is 1. If you believe this error represents a bug, please attach the log file at /var/folders/sz/1lfcb1354xggcnd04_9j5kc40000gp/T/com.apple.dt.XCTest-status/Session-2014-11-20_11:31:25-P1Pjwd.log)
[12:33:24][Step 2/2] ** TEST FAILED **

Mi script de shell para probar:

xcodebuild \
    -sdk iphonesimulator8.1 \
    -destination "name=iPad Air,OS=8.1" \
    -configuration Debug \
    -project "$PROJECTPATH" \
    -scheme app-tests \
    CONFIGURATION_BUILD_DIR="$BUILDPATH" \
    clean test \
    | xcpretty -tc -r junit --output "$BUILDPATH/junit.xml"

También probé una solución de estopregunta Pero no me ayudó.

Respuestas a la pregunta(2)

Su respuesta a la pregunta