xcode - Unit test iOS with Jenkins -


i'm trying automate ios projects jenkins. i'm running problem project want test jenkins.

the project named ttt , using cocoapods has workspace named ttt well.

looking @ schemes following exist inside project. enter image description here

i've followed this tutorial.

the settings i've done follows enter image description here

enter image description here

enter image description here

when try run it stuck right here!

going invoke xcodebuild:, scheme: ttt, sdk: default, workspace: ttt, configuration: debug, clean: no, archive:no, symroot: default, configurationbuilddir: default, codesignidentity: default [lbp-ios] $ /usr/bin/xcodebuild -scheme ttt -workspace ttt.xcworkspace -configuration debug build test -destination "platform=ios simulator,name=iphone 6,os=10.1" 

when remove ttt workspace field following error

going invoke xcodebuild:, scheme: ttt, sdk: default, project: default, configuration: debug, clean: no, archive:no, symroot: default, configurationbuilddir: default, codesignidentity: default [lbp-ios] $ /usr/bin/xcodebuild -scheme ttt -configuration debug build xcodebuild: error: project named "ttt" not contain scheme named "ttt". "-list" option can used find names of schemes in project. build step 'xcode' marked build failure recording test results 

alright why wasn't working had fact scheme wasn't sent git. need specify inside of xcode project otherwise won't show file can commit.

to go xcode > product > scheme > manage schemes
you'll see screen schemes in project make sure tick box under shared schemes want use in jenkins this.

enter image description here

push git , try again. should work now.


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -