danielpaulus / quicktime_video_hack

Record iOS device audio and video
MIT License
520 stars 110 forks source link

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

Open Pycoder0901 opened 2 years ago

Pycoder0901 commented 2 years ago

image

yoav-at-watchful commented 2 years ago

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

Pycoder0901 commented 2 years ago

@yoav-at-watchful no solution

Pycoder0901 commented 2 years ago

no solution

yycxx commented 2 years ago

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

Pycoder0901 commented 2 years ago

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

no

yycxx commented 2 years ago

I think a different MAC or iPhone might work

Pycoder0901 commented 2 years ago

different

different

I think a different MAC or iPhone might work

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

yycxx commented 2 years ago

@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 commented 2 years ago

https://github.com/libusb/libusb/issues/1124

Pycoder0901 commented 2 years ago

@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 commented 2 years ago

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 commented 2 years ago

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

yycxx commented 2 years ago

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

Pycoder0901 commented 2 years ago

@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 commented 2 years ago

@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 commented 2 years ago
企业微信截图_9fa3445a-daa6-4706-a973-fe2db13d0b8b

can resovle

Pycoder0901 commented 2 years ago

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 commented 2 years ago

you should include libusb.h

` package main

//#cgo pkg-config: libusb-1.0 //#include `

Pycoder0901 commented 2 years ago

you should include libusb.h

` package main

//#cgo pkg-config: libusb-1.0 //#include `

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