Please i have this error showing on the Log on my Jenkins server when i run my calabash-ios job on it. Please any suggestion on how to fix this? on my local machine jenkins runs the Job perfectly.
Feature: Home
@test1
Scenario: Unpaired to grid view # features/home_new.feature:5
Unable to start. Make sure you've set APP_BUNDLE_PATH to a build supported by this simulator version
Calabash::Cucumber::Launcher::StartError: Time out waiting for UIAutomation run-loop to Start.
Logfile /var/folders/05/2pf4mksd1fqb2h_djgmr9sgc00007q/T/run_loop20150313-98864-1l7kcg2/run_loop.out
Failed to authorize rights (0x1) with status: -60007.
2015-03-13 13:04:11.569 instruments[1243:35093919] -[XRSimulatorDevice prepareConnection:]: Unable to authorize simulated daemon (1265): 8
Instruments Trace Error : Target failed to run: Permission to debug tv.youview.YouView-cal was denied.
(Calabash::Cucumber::Launcher::StartError)
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/calabash-cucumber-0.13.0/lib/calabash-cucumber/launcher.rb:772:in `new_run_loop'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/calabash-cucumber-0.13.0/lib/calabash-cucumber/launcher.rb:630:in `relaunch'
/Users/Shared/Jenkins/Home/jobs/App.iOS.Calabash.Test/workspace/features/ios/support/01_launch.rb:26:in `Before'
... I am on Youview Setup page
Given I am on Youview Setup page # features/step_definitions/home_steps.rb:1
... I skip Enter Connection Code screen
And I skip Enter Connection Code screen # features/step_definitions/home_steps.rb:43
... I should see the Guide screen
Then I should see the Guide screen # features/step_definitions/guide_steps.rb:1
... I select a channel
When I select a channel # features/step_definitions/guide_steps.rb:14
... I wait for the selected channel to show
Then I wait for the selected channel to show # features/step_definitions/guide_steps.rb:29
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) for "localhost" port 37265 (http://localhost:37265))
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) for "localhost" port 37265 (http://localhost:37265))
Failing... Errno::ECONNREFUSED
Connection refused - connect(2) for "localhost" port 37265 (http://localhost:37265) (Errno::ECONNREFUSED)
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in `initialize'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in `new'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in `create_socket'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:747:in `block in connect'
/Users/Shared/Jenkins/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'
/Users/Shared/Jenkins/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/timeout.rb:99:in `call'
/Users/Shared/Jenkins/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/timeout.rb:99:in `timeout'
/Users/Shared/Jenkins/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/timeout.rb:125:in `timeout'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:746:in `connect'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:612:in `query'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:164:in `query'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:1191:in `do_get_block'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:974:in `block in do_request'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:1082:in `protect_keep_alive_disconnected'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:969:in `do_request'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:822:in `request'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/httpclient-2.6.0.1/lib/httpclient.rb:713:in `get'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/calabash-cucumber-0.13.0/lib/calabash-cucumber/http_helpers.rb:60:in `block in make_http_request'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/calabash-cucumber-0.13.0/lib/calabash-cucumber/http_helpers.rb:50:in `times'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/calabash-cucumber-0.13.0/lib/calabash-cucumber/http_helpers.rb:50:in `make_http_request'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/calabash-cucumber-0.13.0/lib/calabash-cucumber/http_helpers.rb:29:in `http'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/calabash-cucumber-0.13.0/lib/calabash-cucumber/connection_helpers.rb:11:in `http'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/calabash-cucumber-0.13.0/lib/calabash-cucumber/failure_helpers.rb:24:in `screenshot'
/Users/Shared/Jenkins/.rvm/gems/ruby-2.2.0/gems/calabash-cucumber-0.13.0/lib/calabash-cucumber/failure_helpers.rb:52:in `screenshot_embed'
/Users/Shared/Jenkins/Home/jobs/App.iOS.Calabash.Test/workspace/features/ios/support/01_launch.rb:34:in `After'
Failing Scenarios:
cucumber -p ios features/home_new.feature:5 # Scenario: Unpaired to grid view