vigossjjj / CrashMonkey4IOS

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

执行smart_monkey -a ${bundle id}报错:Could not connect to lockdownd, error code -17 #92

Open cakushin opened 7 years ago

cakushin commented 7 years ago

libimobiledevice:1.2.0 ideviceinstaller:1.1.0_2 imagemagick:7.0.5-6 xcode:8.3 报错日志: INSTRUMENTS_TRACE_PATH : /Users/admin/*.trace RESULT_BASE_PATH : /Users/admin/smart_monkey_result {:app_path=>"iflytek.iFly-Changde-iOS", :device=>"a85efe72a31ae123a2bcd529e4c43d2f6ea51821", :run_count=>1, :time_limit_sec=>nil, :detail_event_count=>50} =================================== Start Test (1/1) ======================================= ERROR: Could not connect to lockdownd, error code -17 Attempting iOS device system log capture via deviceconsole. BundleID was found: iflytek.iFly-Changde-iOS Run: ["instruments", "-w", "a85efe72a31ae123a2bcd529e4c43d2f6ea51821", "-t", "", "iflytek.iFly-Changde-iOS", "-e", "UIASCRIPT", "/Users/admin/smart_monkey_result/report_20170515110056/custom.js", "-e", "UIARESULTSPATH", "/Users/admin/smart_monkey_result/report_20170515110056"] 2017-05-15 11:01:05.709 instruments[4957:34386] *** -[__NSCFConstantString stringByAppendingPathExtension:]: cannot append extension 'tracetemplate' to path '' Instruments Usage Error: The specified template '' does not exist. instruments, version 8.3 (62122) usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]] Stop iOS system log capture. ERROR: Could not connect to lockdownd, error code -17

cakushin commented 7 years ago

确定是不支持xcode 8.0以上吗?

Mygirls commented 7 years ago

这个问题 如何解决

Could not connect to lockdownd, error code -21 Attempting iOS device system log capture via deviceconsole. BundleID was found: com.mjq.Test Run: ["instruments", "-w", "8650c29883e525de94fb1d6549f617a98557249c", "-t", "", "com.mjq.Test", "-e", "UIASCRIPT", "/Users/jq/smart_monkey_result/report_20170604225015/custom.js", "-e", "UIARESULTSPATH", "/Users/jq/smart_monkey_result/report_20170604225015"] 2017-06-04 22:50:26.535 instruments[36139:226657] *** -[__NSCFConstantString stringByAppendingPathExtension:]: cannot append extension 'tracetemplate' to path '' Instruments Usage Error: The specified template '' does not exist. instruments, version 8.2 (61756) usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]] Stop iOS system log capture. ERROR: Could not connect to lockdownd, error code -21

pythoncheng commented 6 years ago

解决了否?

sina0918 commented 6 years ago

同问?

ChenShuKun commented 6 years ago

同问 ?反正我的是xcode9.4 是不支持了

qing0404 commented 5 years ago

是不是没人维护呀?问题都没有答复,各位大神可有解决了?