Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cakushin opened this issue May 15, 2017 · 6 comments

Comments

@cakushin
Copy link

cakushin commented May 15, 2017

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
Copy link
Author

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

@Mygirls
Copy link

Mygirls commented Jun 4, 2017

这个问题 如何解决

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
Copy link

解决了否?

@sina0918
Copy link

sina0918 commented Jan 5, 2018

同问?

@ChenShuKun
Copy link

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

@qing0404
Copy link

qing0404 commented Sep 5, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants