美文网首页
【解决】Your Podfile requires that t

【解决】Your Podfile requires that t

作者: Matt_Z_ | 来源:发表于2020-11-13 17:57 被阅读0次

[!] Your Podfile requires that the plugin XXX be installed. Please install it and try installation again

如果您遇到上面的问题使用 'pod repo update' 之后 pod install ,不能解决,那么请尝试下面的【解决方案】

$ pod repo update
$ pod install

【解决方案】使用 sudo gem install + XXX

例如:
[!] Your Podfile requires that the plugin cocoapods-acknowledgements be installed. Please install it and try installation again.

# 例如上面的这个是说 cocoapods-acknowledgements 有问题,我们只要调用下面的方法,重新安装一下就可以了
$ sudo gem install cocoapods-acknowledgements
# 然后再调用 pod install
$ pod install

参考文章:https://www.jianshu.com/p/9adc0168a90f]

相关文章

网友评论

      本文标题:【解决】Your Podfile requires that t

      本文链接:https://www.haomeiwen.com/subject/eflbbktx.html