【解决】Your Podfile requires that the plugin ‘XXX’ be installed. Please install it and try installat...

[!] 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

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

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容