#48 楼 @chenhengjie123 恩恩,已经提了
我在使用命令的时候真机没问题,但是使用模拟器报错如下:
$ smart_monkey -a com.lala.lala2 -w 7BFEF07D-36EE-4C3E-9A52-67020F100291(ps:UDID 用了各种写法都不行)
{:app_path=>"com.lala.la2", :device=>"7BFEF07D-36EE-4C3E-9A52-67020F100291", :run_count=>1, :time_limit_sec=>nil, :detail_event_count=>50}
=================================== Start Test (1/1) =======================================
sh: -c: line 0: syntax error near unexpected token ('
idevicecrashreport -u 7BFEF07D-36EE-4C3E-9A52-67020F100291 (Simulator) -e -k ~/smart_monkey_result/report_20160412173136/crash_1'
sh: -c: line 0:
Attempting iOS device system log capture via deviceconsole.
Stop iOS system log capture.
Invalid device, Please given a vaild device!