Flutter GoogleMaps 与 Cocoapods 冲突

问题描述 投票:0回答:1

我已在 VS Code 终端中运行 pod install,但收到此错误:

[!] CocoaPods 找不到 pod“GoogleMaps”的兼容版本: 在 Podfile 中: google_maps_flutter_ios(来自

.symlinks/plugins/google_maps_flutter_ios/ios
)已解析为 0.0.1,这取决于 谷歌地图 (< 9.0, >= 8.4)

找到了满足

GoogleMaps (< 9.0, >= 8.4)
依赖项的规格,但它们需要更高的最低部署目标。

请问有人可以帮助我吗?

我已在 VS Code 终端中运行 pod install,但收到此错误:

flutter cocoapods
1个回答
0
投票

您可以执行以下操作。 1.删除 podfile.lock 并在您的 iOS 目录中运行 pod install --repo-update 2.如果它不能帮助在你的 Podfile 中找到 # platform :ios, '12.0' 这行并取消注释它,请将其设置为 13.0 并执行 1 步骤

© www.soinside.com 2019 - 2024. All rights reserved.