xctool不使用Jenkins安装应用程序

时间:2015-02-02 20:54:45

标签: jenkins xcodebuild xctool

Xctool在Jenkins的工作中不起作用(v 1.598),但它使用终端

这是命令行:

xctool -destination 'platform=iOS Simulator,OS=8.1,name=iPhone 6' -reporter pretty -reporter json-compilation-database:compile_commands.json -reporter junit:Build/junit.xml clean test OBJROOT=./Build

这是错误:

[Info] Collecting info for testables... (1249 ms)
  run-test TestingProject.xctest (8.1, iPhone 6, application-test)
    [Warning] Tried to install the test host app 'com.domain.app' but failed. (54 ms)
    [Info] Preparing test environment failed; will retry 2 more times (0 ms)
    [Info] Verified iOS Simulators... (0 ms)
    [Info] Shut down iOS Simulator... (0 ms)
    [Info] Stopped any existing iOS simulator jobs to get a fresh simulator. (7 ms)
    [Info] Reset iOS simulator content and settings at path "/Users/jenkins/Library/Developer/CoreSimulator/Devices/144B4DFF-8E5D-4685-AF80-4970F634E7A8/data" (127 ms)
    [Warning] Tried to install the test host app 'com.domain.app' but failed. (13 ms)

我正在使用xctool 0.2.2,其中很奇怪的部分是我在本地机器上运行相同的Jenkins工作,它工作正常。

0 个答案:

没有答案