@@@ Cocoapods的一个坑

[!] Unable to satisfy the following requirements:

  • SVProgressHUD required by Podfile
  • SVProgressHUD (= 2.1.2) required by Podfile.lock

None of your spec sources contain a spec satisfying the dependencies: SVProgressHUD, SVProgressHUD (= 2.1.2).

You have either:

  • out-of-date source repos which you can update with pod repo update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

BFCEF884-84DA-4707-A345-DCA44A891EC1.png

昨天晚上在clone的项目进行Pod install的时候 出现了这个, 当时以为pod update下就行了,所以挂了一晚上的update,今天早上来还是出现这个错误

刚刚google下,是因为SVProgressHUD支持的最低版本现在是8.0 而我的podspec是7.0,所以会出现错误.

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

推荐阅读更多精彩内容