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

连接iOS真机,启动时却总是使用adb并提示找不到设备 #259

Open
Sherryutan opened this issue Aug 20, 2021 · 1 comment
Open

Comments

@Sherryutan
Copy link

Environment check:

$ npm i macaca-cli -g && macaca doctor

  • app inspector version / 版本号:
    2.0.29

  • macaca-doctor version / 版本号:

  • 2.0.18

  • os version / 系统:
    macOS 11.4,
    xCode 11.5

  • device information / 设备版本:
    iPhone6 12.4

  • terminal log / 终端输出信息:

try app-inspector -u xxxx --verbose for more log detail.
$ app-inspector -u 2f90fb2867d52b61350f6bec

_Error: Command failed: /Users/tantan/Library/Android/sdk/platform-tools/adb -s 2f90fb2867d52b61350f6bec forward tcp:9001 tcp:9001
adb: error: device '2f90fb2867d52b61350f6bec' not found

at ChildProcess.exithandler (node:child_process:397:12)
at ChildProcess.emit (node:events:394:28)
at maybeClose (node:internal/child_process:1067:16)
at Socket.<anonymous> (node:internal/child_process:453:11)
at Socket.emit (node:events:394:28)
at Pipe.<anonymous> (node:net:672:12) {

killed: false,
code: 1,
signal: null,
cmd: '/Users/tantan/Library/Android/sdk/platform-tools/adb -s 2f90fb2867d52b61350f6bec forward tcp:9001 tcp:9001'
}_

@macaca-bot
Copy link
Member

This is the translated issue:


Connect the iOS real machine, but always use ADB and prompt can not find the device

Environment CHECK: ENVIRONMENT Check:


$ npm i macaca-cli -g && macaca doctor
`` `


  • App Inspector Version / Version Number:
    2.0.29

  • Macaca-Doctor Version / version number:

  • 2.0.18

  • OS Version / System:
    MacOS 11.4,
    Xcode 11.5

  • Device Information / Device Version:
    iPhone6 ​​12.4

  • TERMINAL LOG / Terminal Output Information:

TRY app-inspector -u xxxx --verbose for more log detail.
$ app-inspector -u 2f90fb2867d52b61350f6bec

_ERROR: Command Failed: / Users / Tantan / Library / Android / SDK / Platform-Tools / Adb -s 2F90FB2867D52B61350F6BEC Forward TCP: 9001 TCP: 9001
Adb: error: Device '2f90fb2867d52b61350f6bec' not found

At childprocess.exithandler (Node: Child_Process: 397: 12)
At childprocess.emit (Node: Events: 394: 28)
AT Maybeclose (Node: INTERNAL / CHILD_PROCESS: 1067: 16)
At Socket. <anonymous> (Node: Internal / CHild_Process: 453: 11)
AT Socket.emit (Node: Events: 394: 28)
At Pipe. <anonymous> (Node: NET: 672: 12) {

Killed: false,
Code: 1,
Signal: NULL,
Cmd: '/ users / tantan / library / android / sdk / platform-tools / adb -s 2f90fb2867d52b61350f6bec forward TCP: 9001 TCP: 9001'
}

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

2 participants