CocoaPods 找不到 pod“Sentry”的兼容版本

Bid*_*ang 0 sentry cocoapods flutter

[!] CocoaPods 找不到 pod“Sentry”的兼容版本:在 Podfile 中:sentry_flutter(来自.symlinks/plugins/sentry_flutter/ios)已解析为 0.0.1,这取决于 Sentry (~> 7.11.0)

None of your spec sources contain a spec satisfying the dependency: `Sentry (~> 7.11.0)`.
Run Code Online (Sandbox Code Playgroud)

我只是想在我的 futter 项目中安装sentry_flutter 插件。目前我正在ios设备上进行测试。但它给出了上述错误。

错误消息看起来很简单。但我无法设法将此插件包含在我的项目中。

小智 9

您可以运行pod repo update更新本地缓存,因为它可能已过时。如果它不能解决您的问题,您可以删除文件夹Podfile.look中的文件ios并运行pod install