pod 错误之一

平常使用pod的时候,会有很多错误,在此准备把遇到的错误,逐一写出来,以供查找:

[!] Unable to satisfy the following requirements:

- `CYLTabBarController` required by `Podfile`
- `CYLTabBarController (= 1.14.1)` required by `Podfile.lock`

None of your spec sources contain a spec satisfying the dependencies: `CYLTabBarController, CYLTabBarController (= 1.14.1)`.

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.

这个错误是因为所引用的库,已经有了更新,而Podfile文件并没有更改其下载版本(Podfile文件过期),我们需要update一下

[dayaodeMacBook-Pro:dayao$ pod update
Update all pods
Updating local specs repositories

更新时间比较长,请耐心等待,更新完成之后,就可以用了

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

推荐阅读更多精彩内容

  • CocoaPods 是什么? CocoaPods 是一个负责管理 iOS 项目中第三方开源库的工具。CocoaPo...
    朝洋阅读 25,746评论 3 50
  • 一. CocoaPods的介绍 什么是CocoaPods?CocoaPods是一个负责管理iOS项目中第三方开源库...
    辉712阅读 4,004评论 0 7
  • 不知道什么时候开始,习惯了倾听深夜的世界。 床头上边就是窗户,不喜欢窗帘的颜色,也许是太旧了,所以从来...
    zs1919阅读 252评论 0 0
  • 版本号:android 5.5 一、战略层(产品目标of公司,用户需求of用户) -产品定位:移动阅读平台 -满足...
    LJ说_LjNotes阅读 527评论 0 49
  • 最近也不知怎的,家事,单位事,学习事,全部挤到一起,弄得我整天忙忙碌碌,昏昏欲睡。先是宝宝生病,然后妈妈生病,会计...
    taoyecumt阅读 264评论 1 1