Flutter ios在以下位置未找到`flutter_keyboard_visibility_web`的podspec [英] Flutter ios No podspec found for `flutter_keyboard_visibility_web` in
问题描述
在Mac中使用Flutter的Iam->Android Studio,当我写Pod安装在终端上时.它告诉我
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`
我从一年前开始使用颤振,这对我来说是第一次.我无法运行该应用程序.我在pubspec中没有一个名为flutter_keyboard_visibility_web的插件
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
如何解决它,谢谢
推荐答案
解决方案是:
1-从ios文件夹中删除Podfile和Podfile.lock
1- Delete Podfile and Podfile.lock from ios folder
2-从终端清洁颤振或来自Android Studio->工具->颤动->颤抖清洁
2- Flutter clean either from terminal or from Android studio -> Tools -> Flutter -> Flutter Clean
3- Pod安装
4-运行应用
解决方案在这里: https://github.com/MisterJimson/flutter_keyboard_visibility/issues/52
这篇关于Flutter ios在以下位置未找到`flutter_keyboard_visibility_web`的podspec的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!