预期结果:在创建机器人时检查"测试"复选框,Xcode服务器完美地执行mt测试,就像在WWDC中一样.
结果: Xcode阻止了一堆模拟器超时错误,并且集成失败.
Test target "xxx" 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 /Library/Developer/XcodeServer/Integrations/Integration-0e5a387ef456a57b7a2d5a90d004256d/xxxx.log)
环境:
真正的问题: 我是一个有足够能力的程序员,拥有多年的iOS经验.很难相信,尽管可能不应该,但在WWDC中看起来如此简单的东西在两个不同的操作系统和Xcode版本上都会如此难以理解.任何帮助,将不胜感激!
笔记:
这是其他人有类似问题的列表,也许它会帮助其他人:
Xcode服务器,机器人,持续集成和模拟器上的单元测试(同样的问题,解决方案不起作用)
https://github.com/czechboy0/Buildasaur/issues/84(不完全相同,但相关)
http://joshuabrauer.com/2015/04/xcode-server-and-continuous-integration-ios(解决它的少数人之一,无法复制)
通过SSH在Xcode 6下运行xcodebuild测试时超时(Jenkins解决方案)
Xcode服务器模拟器超时等待120秒(未解决)