Flutter 停止构建 IOS -- 错误 运行 pod install
Flutter Stopped building for IOS --Error running pod install
一切正常,突然间发生了这种情况。我尝试关注
- 卸载 Cocoapods
- 重新安装更新
- 删除pod.lock 文件
- 升级ruby升级gem
没有任何效果。我也尝试了 运行 其他项目,但是一旦我添加了 firebase 依赖项,我就会收到此错误..here
Analyzing dependencies
firebase_auth: Using Firebase SDK version '6.33.0' defined in 'firebase_core'
[!] Failed to load 'firebase_auth' podspec:
[!] Invalid `firebase_auth.podspec` file: undefined method `ui' for #<Pod::Specification
name="firebase_auth">.
/ios/.symlinks/plugins/firebase_auth/ios/firebase_auth.podspec:24
# -------------------------------------------
# s.description = pubspec['description']
> s.ui.homepage = pubspec['ui.homepage']
# s.license = { :file => '../LICENSE' }
# -------------------------------------------
Error running pod install
确实是 Android 工作室的问题。我删除了我的项目,再次从 github 克隆了它,然后在 temrinal 中使用 Flutter 命令 运行 IOS 上的应用程序它工作了。如果我尝试使用 android studio 运行 它,它仍然会失败并出现相同的错误。
一切正常,突然间发生了这种情况。我尝试关注
- 卸载 Cocoapods
- 重新安装更新
- 删除pod.lock 文件
- 升级ruby升级gem
没有任何效果。我也尝试了 运行 其他项目,但是一旦我添加了 firebase 依赖项,我就会收到此错误..here
Analyzing dependencies
firebase_auth: Using Firebase SDK version '6.33.0' defined in 'firebase_core'
[!] Failed to load 'firebase_auth' podspec:
[!] Invalid `firebase_auth.podspec` file: undefined method `ui' for #<Pod::Specification
name="firebase_auth">.
/ios/.symlinks/plugins/firebase_auth/ios/firebase_auth.podspec:24
# -------------------------------------------
# s.description = pubspec['description']
> s.ui.homepage = pubspec['ui.homepage']
# s.license = { :file => '../LICENSE' }
# -------------------------------------------
Error running pod install
确实是 Android 工作室的问题。我删除了我的项目,再次从 github 克隆了它,然后在 temrinal 中使用 Flutter 命令 运行 IOS 上的应用程序它工作了。如果我尝试使用 android studio 运行 它,它仍然会失败并出现相同的错误。