HTML5   发布时间:2022-04-27  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了ios – 超时等待120秒的模拟器启动大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
看起来像Teamcity代理(TC版本是9.0 EAp)不能通过测试 @L_874_0@脚本运行iOS模拟器.

我正在使用Build Step:命令行,它运行自定义脚本并将参数传递给它.通过使用sHell脚本../bin/mac.launchd.sh,在Mac OS X Yosemite 10.10上启动了Teamcity代理.

构建日志错误

[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 **

我的sHell脚本进行测试:

xcodebuild \
    -sdk iphonesimulator8.1 \
    -desTination "name=iPad Air,OS=8.1" \
    -configuration Debug \
    -project "$PROjeCTPATH" \
    -scheR_1_11845@e app-tests \
    CONfigURATION_BUILD_DIR="$BUILDPATH" \
    clean test \
    | xcpretty -tc -r junit --output "$BUILDPATH/junit.xml"

我也试过从这个question解决方案,但没有帮助我.

解决方法

这在评论中已经回答了,而且这里还有一个与苹果论坛谈论的链接,AFAIK,它仍然是这样的情况,直到苹果改变它

https://devforums.apple.com/message/1040016#1040016

大佬总结

以上是大佬教程为你收集整理的ios – 超时等待120秒的模拟器启动全部内容,希望文章能够帮你解决ios – 超时等待120秒的模拟器启动所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。