How do you configure the XCode Jenkins plugin to run tests? -


the instructions running tests jenkins xcode plugin set test target (which i've done), sdk (which i've done) , configuration (which tried nothing, debug, , test).

however keep getting "...is not configured running".

how run tests?

this output:

+ xcodebuild -workspace /users/mydir/.jenkins/jobs/mytests/workspace/folder/myworkspace.xcworkspace -scheme mytestscheme clean xcodebuild: error: failed build workspace myworkspace scheme mytestscheme.     reason: scheme "mytestscheme" not configured running. 

if within xcode mytestscheme if choose product/run same error message, if choose product/test test code executes successfully. output sucessful run in xcode is:

2013-08-28 11:10:25.828 otest[65917:303] unknown device type. using uiuserinterfaceidiomphone based on screen size test suite 'multiple selected tests' started @ 2013-08-28 18:10:26 +0000 test suite '/users/mydir/library/developer/xcode/deriveddata/myworkspace-ctngidolzdhijvbymvghygtoaiiw/build/products/debug-iphonesimulator/mytestscheme.octest(tests)' started @ 2013-08-28 18:10:26 +0000 test suite 'mytests' started @ 2013-08-28 18:10:26 +0000 test case '-[mytests test1]' started. 2013-08-28 11:10:26.029 otest[65917:303] mdn: (null) test case '-[mytests testa1]' passed (0.346 seconds). 

for me problem using test schema. debug schema should used instead.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -