美文网首页iOS相关iOS-Developer-OC
cocoaPods报错--[!] Unable to find

cocoaPods报错--[!] Unable to find

作者: HAPPY小元宝 | 来源:发表于2017-04-22 17:37 被阅读225次
  • 使用pod install进行安装时出现如下错误:
  $ pod install
Analyzing dependencies
[!] Unable to find a specification for `**`
  • 解决方案:
    • 在终端执行下列命令:
  1、pod repo remove master
  2、pod setup
  3、pod install

Or:

 1、 sudo rm -fr ~/.cocoapods/repos/master
  2、pod setup
  3、pod install

注意:执行第二步 pod setup命令是记得要把VPN关掉,不知道为什么?T_T

参照:http://stackoverflow.com/questions/25913733/unable-to-find-a-specification-in-cocoapods

相关文章

网友评论

  • 1073d142fdd4:做完了 还是不行 楼楼还有什么办法吗

本文标题:cocoaPods报错--[!] Unable to find

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