Xcode 7.0.1、Bots 和 Server 5.0.4:测试目标“xx"遇到错误 - 等待模拟器启动 120 秒超时 [英] Xcode 7.0.1, Bots, and Server 5.0.4: Test target "xx" encountered an error - Timed out waiting 120 seconds for simulator to boot

查看:18
本文介绍了Xcode 7.0.1、Bots 和 Server 5.0.4:测试目标“xx"遇到错误 - 等待模拟器启动 120 秒超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

预期结果:您在创建机器人时选中测试"复选框,Xcode 服务器完美地执行 mt 测试,如

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

Test target "xxx" 遇到错误(Timed out waiting 120 seconds for simulator to boot, current state is 1. 如果您认为此错误代表错误,请在/Library/Developer/XcodeServer/Integrations 附加日志文件/Integration-0e5a387ef456a57b7a2d5a90d004256d/xxxx.log)

环境:

  • Xcode 7.0.1
  • 服务器 5.0.4
  • OSX 10.11
  • 在具有两个不同项目的两台不同机器上复制.
  • 另外,在 OSX 10.10 和 Xcode 6 上体验过这个

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

注意事项:

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

这里列出了其他有类似问题的人,也许会对其他人有所帮助:

解决方案

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

这对我有用:Xcode 服务器、机器人、持续集成和模拟器上的单元测试

Expected Result: You check the "Test" checkbox when creating a bot and Xcode server flawlessly executes mt tests like in the WWDC.

Result: Xcode barfs up a bunch of simulator timeout errors and the integration fails.

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)

Environment:

  • Xcode 7.0.1
  • Server 5.0.4
  • OSX 10.11
  • Replicated on two different machine with two different projects.
  • Also, experienced this on OSX 10.10 and Xcode 6

Real Problem: I'm a competent enough programmer with several years of iOS experience. It's hard to believe, although maybe it shouldn't be, that something that looks so simple in WWDC would fail so hard for on two different operating systems and versions of Xcode.

Notes:

  • I'm running Xcode and Xcode Server from the same machine. I don't have to SSH in.
  • The integration log file path that Xcode suggests checking is invalid, though I can get the raw build log from the Xcode

Here is a list of other people having similar issues, maybe it will help others:

解决方案

Please duplicate the radar https://openradar.appspot.com/23386199 so apple hopefully recognizes this strange behaviour

This worked for me: Xcode server, bots, continuous integration, and unit-testing on the simulator

这篇关于Xcode 7.0.1、Bots 和 Server 5.0.4:测试目标“xx"遇到错误 - 等待模拟器启动 120 秒超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆