简体   繁体   中英

Flutter ios No podspec found for `flutter_keyboard_visibility_web` in

Iam using Flutter in Mac -> Android studio and when I write pod install in the terminal. It show me

Analyzing dependencies
[!] No podspec found for `flutter_keyboard_visibility_web` in .symlinks/plugins/flutter_keyboard_visibility_web/ios`

Iam using flutter from one year ago, It is the first time it happen for me. I cannot run the app. I dont have a plugin with this name flutter_keyboard_visibility_web in pubspec

How to fix it, thanks

The solution is:

1- Delete Podfile and Podfile.lock from ios folder

2- Flutter clean either from terminal or from Android studio -> Tools -> Flutter -> Flutter Clean

3- Pod install

4- Run the app

The solution is here: https://github.com/MisterJimson/flutter_keyboard_visibility/issues/52

I had the same issue, but I cleared cache on IntelliJ and it started working again.

To do this on IntelliJ:

  1. From the main menu, select File | Invalidate Caches / Restart.
  2. In the Invalidate Caches dialogue, select an invalidate the caches and restart the IDE .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM