Avijit
Avijit

Reputation: 697

Module 'flutter_keyboard_visibility' not found on IOS

This is a simple flutter project. Android version is running without any error.

But the Problem is in ios version. Here is the screenshot of the error. enter image description here

I have removed the podfile and reinstall again. But no luck!!

Upvotes: 6

Views: 4345

Answers (2)

Frilau
Frilau

Reputation: 59

I fixed the issue by removing the module from my pubspec.yaml and adding it again.

Clean derived data manually.

flutter pub get (without flutter_keyboard_visibility)

flutter clean

flutter pub get (uncomment to reinstall it)

pod install 

Launch Runner.xcworkspace Build & Run

EDIT: If your problem is with the archive and not the run. It seems that your minimum ios version is too old. Simply increase the minimum iOS version in Runner > Targets > Deployment Info (For me, iOS 11 works).

Upvotes: 4

Maris Basha
Maris Basha

Reputation: 89

Use Runner.xcworkspace instead of Runner.xcodeproj

Upvotes: 6

Related Questions