ios - Xcode 7.0.1、机器人和服务器 5.0.4 : Test target "xx" encountered an error - Timed out waiting 120 seconds for simulator to boot

标签 ios xcode continuous-integration bots xcode-server

预期结果:您在创建机器人时选中“测试”复选框,Xcode 服务器会像在 WWDC 中一样完美地执行 mt 测试。

enter image description here

结果:Xcode 吐出一堆模拟器超时错误,集成失败。

enter image description here 测试目标“xxx”遇到错误(模拟器启动超时等待 120 秒,当前状态为 1。如果您认为此错误代表错误,请在/Library/Developer/XcodeServer/Integrations 附上日志文件/Integration-0e5a387ef456a57b7a2d5a90d004256d/xxxx.log)

环境:

  • Xcode 7.0.1
  • 服务器 5.0.4
  • 操作系统 10.11
  • 在两台不同的机器上复制了两个不同的项目。
  • 此外,在 OSX 10.10 和 Xcode 6 上体验过这一点

真正的问题: 我是一个足够称职的程序员,拥有多年的 iOS 经验。很难相信,尽管也许不应该相信,在 WWDC 中看起来如此简单的东西在两个不同的操作系统和 Xcode 版本上却会如此失败。

注意事项:

  • 我在同一台机器上运行 Xcode 和 Xcode Server。我不必通过 SSH 登录。
  • Xcode 建议检查的集成日志文件路径无效,但我可以从 Xcode 获取原始构建日志

这是其他人遇到类似问题的列表,也许对其他人有帮助:

最佳答案

请复制雷达https://openradar.appspot.com/23386199所以苹果希望能认识到这种奇怪的行为

这对我有用:Xcode server, bots, continuous integration, and unit-testing on the simulator

关于ios - Xcode 7.0.1、机器人和服务器 5.0.4 : Test target "xx" encountered an error - Timed out waiting 120 seconds for simulator to boot,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33003556/

相关文章:

ios - Mapbox 动画用户位置更流畅

ios - 跨 View Controller 发送 UITableViewCell

ios - 提取超过1000个对象时核心数据崩溃

ios - XCode: "<foo> (from ' 的私钥 <bar >')"未安装在此 Mac 上

jenkins - 在手动触发的 Jenkins 作业中从 "upstream"构建获取 Git 提交

Jenkins 项目订单

ios - 从另一个 View Controller 访问元素出现 nil

iphone - 学习如何为 iPhone 编程的最佳 "how to"网站是什么?

ios - Swift 3.1 : String. Encoding(rawValue:) 在 iOS 应用程序中运行不正确

java - Java 的持续集成与遗留项目的支持?