gpt4 book ai didi

plugins - 运行 pod install : Exit code 1 from: pod install 时出错

转载 作者:IT王子 更新时间:2023-10-29 06:46:25 24 4
gpt4 key购买 nike

我正在为我的 flutter 应用构建一个 touchid 插件。我发现某些功能仅在 ios9 或 > 中可用。我将 plugin.podspec 从 s.ios.deployment_target = '8.0' 更改为 s.ios.deployment_target = '9.0'

该应用程序构建时出现与 ios 9 要求相关的错误,但获得了运行 pod install 时出错:退出代码 1 from: pod install 当我更改 podspec 文件并且不会构建或运行时。

有什么想法吗?我运行了 pod repo update,但没有任何区别。

谢谢

最佳答案

如果您使用 flutter run -v 运行,您可能会看到这样的错误。

Unable to satisfy the following requirements...

Specs satisfying the plugin_name (from /Users/jackson/git/plugins/packages/plugin_name/ios) dependency were found, but they required a higher minimum deployment target.

解决方案是取消注释示例项目的 Podfile 顶部的行。

platform :ios, '9.0'

目前您的插件无法强制执行此操作。你可以file an issue如果这让您感到困扰。

关于plugins - 运行 pod install : Exit code 1 from: pod install 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44788321/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com