AmolGangadhare / flutter_barcode_scanner

Barcode scanner plugin for flutter. Supports barcode scanning for Android and iOS
https://pub.dev/packages/flutter_barcode_scanner
MIT License
375 stars 426 forks source link

module 'flutter_barcode_scanner' not found @import flutter_barcode_scanner; #228

Open NattawutTanthai opened 2 years ago

NattawutTanthai commented 2 years ago

Screen Shot 2564-09-10 at 01 49 06

lohhans commented 2 years ago

Same here, there's any solution?

Captura de tela de 2021-09-22 16-09-50

arordakowski commented 2 years ago

Same problem, has anyone found a solution?

arordakowski commented 2 years ago

I managed to solve it by opening the Runner.xcodeproj file in Xcode. I navigated to Pods/Development Pods/flutter_barcode_scanner/Pod/flutter_barcode_scanner.podspec. So Xcode recognized the module and built the application without any problems. Hope this helps you too!

print

liseipi commented 2 years ago

Same problem, has anyone found a solution?

darkfrog26 commented 2 years ago

Same problem running on MBP M1 Pro laptop. I'm wondering if this is related to the hoops I had to go through to install the pods on the M1. Anyone else having this problem on an M1?

pdivita commented 2 years ago

I fixed doing a flutter clean and then pod install

darkfrog26 commented 2 years ago

@pdivita, unfortunately, that didn't solve my problem. I'm still getting Module 'flutter_barcode_scanner' not found.

wallacerodrigon commented 1 year ago

I managed to solve it by opening the Runner.xcodeproj file in Xcode. I navigated to Pods/Development Pods/flutter_barcode_scanner/Pod/flutter_barcode_scanner.podspec. So Xcode recognized the module and built the application without any problems. Hope this helps you too!

print

It solved for me. I used MAC OS Monterey e XCode 14.2, guys. It should be one of the problems of yours.