【发布时间】:2020-08-21 01:19:29
【问题描述】:
我有一个用 Swift 编写的项目,它有一个主要目标和两个测试目标:一个用于使用 quick 框架进行单元测试,它有 3 个 KIF 测试。 另一个目标具有 XCUITests。
所以每当我运行 Xcode bot 与我们的 Xcode CI 服务器集成时,我都会收到以下错误:
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.
当我将它运行到模拟器集成中时出现此错误,但当我将 CI 服务器与物理设备连接并运行它时它运行良好。
注意:我使用 Xcode 7.3 和 Carthage 0.11。
【问题讨论】:
-
我在这个 SO 问题 stackoverflow.com/questions/39834219/… 上给出的答案可能对其他人有所帮助。
标签: xcode continuous-integration xcode-ui-testing xcode-bots xcode7.3