Xcode服务器,机器人,持续集成和模拟器上的unit testing

我有一个Xcode服务器设置了iOS项目的几个机器人(用Xcode 6.1编译),所有这些都包含unit testing目标

我似乎无法在模拟器中运行这些testing。 到目前为止所有的尝试都失败了相同的错误(模拟器启动超时):

Test target NAME_OF_MY_TARGET 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 [...]) 

当然,build议的日志文件path不是服务器上的有效path,因此无法检查日志

我有一个类似的问题,通过更改Xcode Bot只能运行最新版本模拟器(Xcode 6.3.1和iOS 8.3)中的一个,并强制退出服务器上所有与模拟器相关的进程来解决。

只需login你的服务器并启动活动监视器,然后进入CPU选项卡,现在search“模拟器”,你应该看到一些结果,只是强制退出所有人(甚至属于_xcsbuildd)。 以下是我拥有的进程名称示例:

  • com.apple.CoreSimulator.CoreSimulatorService
  • iOS模拟器
  • SimulatorBridge
  • CoreSimulatorBridge