flutter_barcode_scanner
flutter_barcode_scanner copied to clipboard
CocoaPods could not find compatible versions for pod "flutter_barcode_scanner" iOS
-
Description The plugin is not working on IOS, i have the following error when running on iOS 15.0, iPhone8
-
To Reproduce Steps to reproduce the behavior:
- add the plugin from pub dev
- add necessary configs for Info.Plist
- Add UI widget
- See error
-
Expected behavior This is the error message that I have [!] CocoaPods could not find compatible versions for pod "flutter_barcode_scanner": In Podfile: flutter_barcode_scanner (from
.symlinks/plugins/flutter_barcode_scanner/ios
) Specs satisfying theflutter_barcode_scanner (from
.symlinks/plugins/flutter_barcode_scanner/ios)
dependency were found, but they required a higher minimum deployment target. -
Smartphone:
-
Device: iPhone8
-
OS: MacOS Monterey
-
Version Flutter 3.7
Open the iOS project in Xcode and set minimum deployment target to 12. Then close Xcode and run pod install in /ios folder again.
Hello @petcupaula . I just did changed the deployment target to 12.0. But still, it is not working...
try updating Podfile file in ios folder to
platform :ios, '12.0'