Cocoapods子规格问题:您的规格来源均不包含满足依赖性的规格 [英] Cocoapods subspec issue: None of your spec sources contain a spec satisfying the dependency
问题描述
我修改了Github上的存储库,以集成我的库的快速版本.
I modified a repo on Github to integrate a swift version of my library.
https://github.com/iDevelopper/PBRevealViewController
但是,在新项目中尝试进行Pod安装时,出现错误消息:
However when in a new project I try to pod install I get the error:
[!]无法满足以下要求:
[!] Unable to satisfy the following requirements:
-
PBRevealViewController/Swift (= 1.2.3)
Podfile
所需的您的任何规范来源均不包含满足依赖性的规范:PBRevealViewController/Swift (= 1.2.3)
.
None of your spec sources contain a spec satisfying the dependency: PBRevealViewController/Swift (= 1.2.3)
.
您有:
*过时的源存储库,可以使用pod repo update
或pod install --repo-update
进行更新.
*输入的名称或版本错误.
*没有将托管Podspec的源存储库添加到您的Podfile中.
You have either:
* out-of-date source repos which you can update with pod repo update
or with pod install --repo-update
.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
注意:从CocoaPods 1.0开始,默认情况下,pod repo update
不会在pod install
上发生.
Note: as of CocoaPods 1.0, pod repo update
does not happen on pod install
by default.
欢迎一些帮助!
请参阅Cocoapods问题:
Please see the Cocoapods issue:
https://github.com/CocoaPods/CocoaPods/issues/6970#事件-1213956994
推荐答案
我对此并不熟悉,但是我也遇到了遵循几个步骤的相同问题
I am not familier this, but I also faced the same issue I followed the few steps
删除您的Podfile并再次使用以下步骤重新生成您的Pod文件,
delete your podfile and regenerate your pod file once again use the following steps,
-
pod存储库删除主控
pod repo remove master
pod设置
这篇关于Cocoapods子规格问题:您的规格来源均不包含满足依赖性的规格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!