vigossjjj / CrashMonkey4IOS

iOS Monkey Test Tool.
MIT License
344 stars 135 forks source link

遇到 instrumets 错误 #105

Open hztgz opened 6 years ago

hztgz commented 6 years ago

TonyMac:db tony$ smart_monkey -a com.trs.Gank -w 7496192b8ad4afe50c8cae175edce159594a9913 -n 3 -d /Users/tony/Downloads/log INSTRUMENTS_TRACE_PATH : /private/var/db/*.trace RESULT_BASE_PATH : /Users/tony/Downloads/log {:app_path=>"com.trs.Gank", :device=>"7496192b8ad4afe50c8cae175edce159594a9913", :run_count=>3, :result_base_dir=>"/Users/tony/Downloads/log", :time_limit_sec=>nil, :detail_event_count=>50} =================================== Start Test (1/3) ======================================= Attempting iOS device system log capture via deviceconsole. BundleID was found: com.trs.Gank Run: ["instruments", "-w", "7496192b8ad4afe50c8cae175edce159594a9913", "-t", "", "com.trs.Gank", "-e", "UIASCRIPT", "/Users/tony/Downloads/log/report_20180621103921/custom.js", "-e", "UIARESULTSPATH", "/Users/tony/Downloads/log/report_20180621103921"] 2018-06-21 10:42:16.189 instruments[24941:348190] *** -[__NSCFConstantString stringByAppendingPathExtension:]: cannot append extension 'tracetemplate' to path '' Instruments Usage Error: The specified template '' does not exist. instruments, version 9.4.1 (64086) usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]] Stop iOS system log capture.