Xcode bot错误:提早意外退出,操作从未完成引导 [英] Xcode bot error: Early unexpected exit, operation never finished bootstrapping

查看:90
本文介绍了Xcode bot错误:提早意外退出,操作从未完成引导的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用Swift编写的项目,有一个主要目标和两个测试目标:一个用于使用 quick 框架,它具有3个 KIF 测试。
另一个目标有XCUITests。 pre> 验收机器人的启动问题(错误)
验收机器人的集成#63
在Xcode中打开:xcbot:// iosci / botID / 1229919cecfcd510f090e37aed014a23 / integrationID / 16a3709d3ae008a68a65ff2fe9bb5a7b

断言:测试目标MyUITests遇到错误(早期意外退出,操作从未完成引导-不会尝试重新启动)
文件:(null):( null)

之前介绍了2个集成

附加了此集成的完整日志。

当我将其运行到模拟器集成中时,会出现此错误,但是当我将CI服务器与物理服务器连接时,它运行正常设备并运行它。


注意:我正在将Xcode 7.3与Carthage 0.11一起使用。

解决方案

我遇到了同样的错误(尽管我正在使用fastlane来运行我的UI测试)。



问题是由于模拟器卡在了系统警报中UI测试无法处理的问题。此后,我的所有测试均失败,并且由于模拟器没有响应,因此后续运行仍失败。



我登录到计算机中,然后在破坏性警报上单击确定,一切都恢复了。



在我的情况下,由于该应用程序试图注册APNS和



应用程序名称要启用通知警报已显示。跳过用于UI测试的APNS注册可以防止问题再次出现。


I have a project written in Swift with a main target and two test targets: one for unit testing using quick framework and it has 3 KIF tests. The other target has the XCUITests.

So whenever I run Xcode bot integration with our Xcode CI Server, I get the following error:

Bot Issue for Acceptance Bot (error)
Integration #63 of Acceptance Bot
Open in Xcode: xcbot://iosci/botID/1229919cecfcd510f090e37aed014a23/integrationID/16a3709d3ae008a68a65ff2fe9bb5a7b

Assertion: Test target MyUITests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
File: (null):(null)

Introduced 2 integrations ago

Full logs for this integration are attached.

I get this error when I run it into a simulator integration though it runs fine when I connect the CI server with a physical device and run it.

Note: I'm using Xcode 7.3 with Carthage 0.11.

解决方案

I was facing the same error (although I was using fastlane to run my UI Tests).

The issue was due to the simulator being stuck on a system alert which the UI Tests did not handle. After that all my tests failed and subsequent runs continued to fail as the simulator was not responding.

I logged into the machine and click OK on the disrupting alert and everything was back to normal.

In my case the alert came up since the application was trying to register of APNS and the

"App Name" would like to enable Notifications alert was displayed. Skipping the APNS registration for UI Tests prevented the issue from popping again.

这篇关于Xcode bot错误:提早意外退出,操作从未完成引导的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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