Xctool is not working in my Jenkins' job (v 1.598) but it works using Terminal
This is the command line:
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
This is the error:
[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)
I'm using xctool 0.2.2 and the weird part of this is that I'm running the same Jenkins' job in my local machine and it works fine.