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

Assertion failed: (list_empty(&darwin_cached_devices)), function darwin_init, file darwin_usb.c, line 603. #118

Open
Pycoder0901 opened this issue Mar 8, 2022 · 19 comments

Comments

@Pycoder0901
Copy link

image

@yoav-at-watchful
Copy link

@Pycoder0901 , were you able to work around this issue?

@Pycoder0901
Copy link
Author

@yoav-at-watchful no solution

@Pycoder0901 Pycoder0901 reopened this Apr 5, 2022
@Pycoder0901
Copy link
Author

no solution

@yycxx
Copy link

yycxx commented Apr 27, 2022

@Pycoder0901
I have encountered the same problem. Have you solved it?

@Pycoder0901
Copy link
Author

@Pycoder0901 I have encountered the same problem. Have you solved it?

no

@yycxx
Copy link

yycxx commented Apr 27, 2022

I think a different MAC or iPhone might work

@Pycoder0901
Copy link
Author

different

different

I think a different MAC or iPhone might work

Different phone have been tried no work ,you can try different MAC

@yycxx
Copy link

yycxx commented Apr 28, 2022

@Pycoder0901
This may be the problem of libusb. My libusbversion is 1.0.25 and the OS version is 11.4 I want to find out what we have in common.

@yycxx
Copy link

yycxx commented Apr 28, 2022

libusb/libusb#1124

@Pycoder0901
Copy link
Author

@Pycoder0901
This may be the problem of libusb. My libusbversion is 1.0.25 and the OS version is 11.4 I want to find out what we have in common.

change libusb version can solved it?

@drauggres
Copy link

Old README.md had this warning:

## MAC OS LIBUSB -- IMPORTANT
Make sure to use either this fork `https://github.com/GroundControl-Solutions/libusb`
or a LibUsb version BELOW 1.0.20 or iOS devices won't be found on Mac OS X.
[See Github Issue](https://github.com/libusb/libusb/issues/290)

@yycxx
Copy link

yycxx commented Apr 29, 2022

@drauggres @Pycoder0901
I tried to install libusb1.0.20 with the source code and achieved success. I think you can try it.

@yycxx
Copy link

yycxx commented Apr 29, 2022

Don't forget to turn off this problem. It's actually an external cause.

@Pycoder0901
Copy link
Author

@drauggres @Pycoder0901 I tried to install libusb1.0.20 with the source code and achieved success. I think you can try it.

why not resovle this issue on the latest version of libusb. I tried to install libusb1.0.20 with the source code but it fail.
image

@jagdish-mozark
Copy link

@drauggres @Pycoder0901 I tried to install libusb1.0.20 with the source code and achieved success. I think you can try it.

please help me to install particular version of libusb.

@waldenana
Copy link

企业微信截图_9fa3445a-daa6-4706-a973-fe2db13d0b8b

can resovle

@Pycoder0901
Copy link
Author

go run main.go

command-line-arguments

./main.go:87:11: could not determine kind of name for C.libusb_context
./main.go:178:2: could not determine kind of name for C.libusb_exit
./main.go:88:2: could not determine kind of name for C.libusb_init

@waldenana
Copy link

you should include libusb.h

`
package main

//#cgo pkg-config: libusb-1.0
//#include <libusb.h>
`

@Pycoder0901
Copy link
Author

you should include libusb.h

` package main

//#cgo pkg-config: libusb-1.0 //#include <libusb.h> `

command-line-arguments

ld: warning: directory not found for option '-L/usr/local/Cellar/libusb/1.0.25/lib'
ld: warning: directory not found for option '-L/usr/local/Cellar/gst-plugins-base/1.18.5/lib'
ld: warning: directory not found for option '-L/usr/local/Cellar/gstreamer/1.18.5/lib'
ld: warning: directory not found for option '-L/usr/local/Cellar/glib/2.70.4/lib'
ld: warning: directory not found for option '-L/usr/local/Cellar/glib/2.70.4/lib'
Usage:
qvh devices [-v]
qvh activate [--udid=] [-v]
qvh record [--udid=] [-v]
qvh audio (--mp3 | --ogg | --wav) [--udid=] [-v]
qvh gstreamer [--pipeline=] [--examples] [--udid=] [-v]
qvh diagnostics [--dump=] [--udid=]
qvh --version | version
exit status 1

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