2015-09-21 07:06:10 +0000 Warning: Target app go to outside, trigger re-launch action. 锁屏无法开启,卡在这里了
请问这个报错如何解决啊。。。。
$smart_monkey -a com.test.HelloWorld
INSTRUMENTS_TRACE_PATH : /Users/wangyan/work/amc-work/monkeyTest/*.trace
RESULT_BASE_PATH : /Users/wangyan/work/amc-work/monkeyTest/smart_monkey_result
{:app_path=>"com.test.HelloWorld", :run_count=>1, :time_limit_sec=>nil, :detail_event_count=>50}
=================================== Start Test (1/1) =======================================
Attempting iOS Simulator system log capture via tail system.log.
Stop iOS system log capture.
/Users/wangyan/.rvm/gems/ruby-2.2.1/gems/smart_monkey-0.4.2/lib/smart_monkey/monkey_runner.rb:202:in device': undefined method
strip' for nil:NilClass (NoMethodError)
from /Users/wangyan/.rvm/gems/ruby-2.2.1/gems/smart_monkey-0.4.2/lib/smart_monkey/monkey_runner.rb:87:in block in run_a_case'
watch_syslog'
from /Users/wangyan/.rvm/gems/ruby-2.2.1/gems/smart_monkey-0.4.2/lib/smart_monkey/monkey_runner.rb:600:in
from /Users/wangyan/.rvm/gems/ruby-2.2.1/gems/smart_monkey-0.4.2/lib/smart_monkey/monkey_runner.rb:82:in run_a_case'
block in run'
from /Users/wangyan/.rvm/gems/ruby-2.2.1/gems/smart_monkey-0.4.2/lib/smart_monkey/monkey_runner.rb:49:in
from /Users/wangyan/.rvm/gems/ruby-2.2.1/gems/smart_monkey-0.4.2/lib/smart_monkey/monkey_runner.rb:46:in times'
run'
from /Users/wangyan/.rvm/gems/ruby-2.2.1/gems/smart_monkey-0.4.2/lib/smart_monkey/monkey_runner.rb:46:in
from /Users/wangyan/.rvm/gems/ruby-2.2.1/gems/smart_monkey-0.4.2/bin/smart_monkey:58:in <top (required)>'
load'
from /Users/wangyan/.rvm/gems/ruby-2.2.1/bin/smart_monkey:23:in
from /Users/wangyan/.rvm/gems/ruby-2.2.1/bin/smart_monkey:23:in <main>'
eval'
from /Users/wangyan/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in
from /Users/wangyan/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `