khoren93 / flutter_zxing

Flutter plugin for scanning and generating QR codes using the ZXing library, supporting Android, iOS, and desktop platforms
https://pub.dev/packages/flutter_zxing
MIT License
97 stars 56 forks source link

Not working on the macOS. #145

Open nilansh-git opened 3 months ago

nilansh-git commented 3 months ago

After following all the mentioned steps to run the application including melos, script on the macos side. Application was getting crashed at this point with the below log message.

"Unhandled Exception: Invalid argument(s): Failed to lookup symbol 'setLogEnabled': dlsym(RTLD_DEFAULT, setLogEnabled): symbol not found"

After commenting this line from the main.dart, I was getting same error for "zx.version". I've provided all the required permissions from the macOS side for camera but still camera is not working on this although application is working. Also I'm unable to create barcode.

tianyasiqing commented 2 months ago

I also have the same problems.But i solved it , do it step by step as README.md , the most important step is "git clone --recursive https://github.com/khoren93/flutter_zxing.git" Good luck for you. 截屏2024-07-11 18 22 02