quick.flutter
quick.flutter copied to clipboard
Quick USB MacOS (Intel) Failed to load dynamic library 'libusb-1.0.23.dylib'
flutter: quick_usb
threw an error: Invalid argument(s): Failed to load dynamic library 'libusb-1.0.23.dylib': dlopen(libusb-1.0.23.dylib, 0x0001): tried: '/Volumes/Data/Projects/SWTH/qipos/build/macos/Build/Products/Debug/QiPOS Anywhere.app/Contents/Frameworks/FlutterMacOS.framework/Versions/A/./libusb-1.0.23.dylib' (no such file), '/Volumes/Data/Projects/SWTH/qipos/build/macos/Build/Products/Debug/QiPOS Anywhere.app/Contents/Frameworks/FlutterMacOS.framework/Versions/A/../../../libusb-1.0.23.dylib' (no such file), '/usr/lib/swift/libusb-1.0.23.dylib' (no such file), '/usr/lib/swift/libusb-1.0.23.dylib' (no such file), '/Volumes/Data/Projects/SWTH/qipos/build/macos/Build/Products/Debug/QiPOS Anywhere.app/Contents/MacOS/../Frameworks/libusb-1.0.23.dylib' (no such file), '/Volumes/Data/Projects/SWTH/qipos/build/macos/Build/Products/Debug/QiPOS Anywhere.app/Contents/MacOS/Frameworks/libusb-1.0.23.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libusb-1.0.23.dylib' (no such file), '/Volumes/Data/Projects/SWTH/qipos/build/macos/Build/Products/Debug/QiPOS Anywhere.app/Contents/MacOS/../Frameworks/libusb-1.0.23.dylib' (no such file), 'libusb-1.0.23.dylib' (no such file), '/usr/local/lib/libusb-1.0.23.dylib' (no such file), '/usr/lib/libusb-1.0.23.dylib' (no such file), '/Users/arkom/Library/Containers/app.qipos/Data/libusb-1.0.23.dylib' (no such file). The app may not function as expected until you remove this plugin from pubspec.yaml
I got today exactly the same problem. Any idea how we can fix it?
Same here!
The library (libusb-1.0.23.dylib) contained in the package quick_usb does not work with intel chipset. The best way to make it work at the moment is to:
- Download a version of libusb that is compatible with your PC
- Download quick_usb localy and add it to your flutter project
- Change the original libusb found in the package (quick_usb/macos) with the one who is working with your PC
Hope it helps
This error only on 0.4.0 version rollback to 0.3.1 working well on MacOS intel
1st image build from v0.3.1 and 2nd image from 0.4.0 it look like plugin not correct for version 0.4.0


I had the same problem and had to find a way to resolve it. You can find what I did in the following issue: https://github.com/woodemi/quick.flutter/issues/77