danielpaulus / quicktime_video_hack

Record iOS device audio and video
MIT License
535 stars 112 forks source link

I'm trying to configure qvh in macOS #156

Open crmtest1234 opened 2 months ago

crmtest1234 commented 2 months ago

Following below steps

On MacOS run brew install libusb pkg-config gstreamer gst-plugins-bad gst-plugins-good gst-plugins-base gst-plugins-ugly To just run: Download the latest release and run it To develop: Clone the repo and execute go run main.go (need to install golang of course)

Facing below issue :

dyld[81118]: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib Referenced from: /Users/mani-3694/Documents/workspace/ios_workspace/qvh Reason: tried: '/usr/local/lib/libusb-1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libusb-1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/libusb-1.0.0.dylib' (no such file), '/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/usr/local/lib/libusb-1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/libusb-1.0.0.dylib' (no such file, not in dyld cache)

Chip : Apple M1 Pro OS Version : macOS 14.6 (23G80) libusb: stable 1.0.27 gstreamer: stable 1.24.6 (bottled)

Kindly anyone assist on this, i'm unable to install libusb 1.0.0.

@danielpaulus

jongyu commented 3 weeks ago

I also encountered the same problem