我有一个用 Swift 编写的项目,它有一个主要目标和两个测试目标:一个用于使用快速框架进行单元测试,它有 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。