Open wujiayi101 opened 7 years ago
And i am seeing this in the mac console log, not sure whether it helps to root cause the reason
could not enable test hierarchy: ApplePinningAllowTestCertsAppleSWUpdateSigning not true
the problem seem to be solved by exporting Code Sign Identity env variable.
is this a must step for testing 10.2 physical device?
@calabash_launcher.calabash_notify(self)
Remove this call. It is no longer necessary.
run-loop 2.4.0 is out.
It has improved code signing.
the problem seem to be solved by exporting Code Sign Identity env variable. Is this a must step for testing 10.2 physical device?
https://github.com/calabash/calabash-ios/wiki/DeviceAgent#run-loop-223
Normally it is not necessary, but I can imagine cases where it would be helpful to resolve ambiguous matches.
Mac OS: Sierra Device with 10.3.2 Xcode: 8.2.1 run_loop: 2.4.1 calabash-cucumber: 0.20.4
start_test_server_in_background
Error log:RunLoop::Shell::TimeoutError:
Timed out after 120.05 seconds executing
/Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/run_loop-2.4.1/lib/run_loop/device_agent/bin/iOSDeviceManager install --device-id 7f5237a6826497d662a8a5118570c48a1b521247 -a /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/run_loop-2.4.1/lib/run_loop/device_agent/ipa/DeviceAgent-Runner.app
with a timeout of 120
from /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/run_loop-2.4.1/lib/run_loop/shell.rb:104:in run_shell_command' from /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/run_loop-2.4.1/lib/run_loop/device_agent/ios_device_manager.rb:139:in
launch'
from /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/run_loop-2.4.1/lib/run_loop/device_agent/client.rb:1354:in launch_cbx_runner' from /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/run_loop-2.4.1/lib/run_loop/device_agent/client.rb:271:in
launch'
from /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/run_loop-2.4.1/lib/run_loop/device_agent/client.rb:147:in run' from /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/run_loop-2.4.1/lib/run_loop.rb:113:in
run'
from /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:408:in block in new_run_loop' from /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:406:in
times'
from /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:406:in new_run_loop' from /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:365:in
relaunch'
from /Users/automationtesting/.rvm/gems/ruby-2.4.1/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1567:in `start_test_server_in_background'
Hi, I am testing on iOS 10.2.1, right after I use
xcodebuild
to install app onto the device, and I runcucumber
to start the test, below code is trying to executed.but it hangs for very long time and eventually end up with below error:
my software versions:
Is there anything wrong with my setup or code use?