美文网首页私有库
pod 依赖私有库的pod lib lint

pod 依赖私有库的pod lib lint

作者: 传说中的汽水枪 | 来源:发表于2019-03-25 15:17 被阅读0次

在提交私有库A到私有specs中去的时候,如果库A依赖私有库B的话,直接使用

pod lib lint

会出现:

ERROR | [iOS] unknown: Encountered an unknown error (Unable to find a specification for `库B` depended upon by `库A`) during validation.

这个时候就可以通过如下的方法:

pod lib lint --sources=https//code.xx.com/kkkk/Specs.git

去解决
或者:

pod lib lint --sources=REPO_NAME

其中REPO_NAME(这个名字可以随便取)是:

pod repo add REPO_NAME SOURCE_URL

中的REPO_NAME
如果有多个私有仓库地址可以:

pod lib lint --sources=REPO_NAME1,REPO_NAME2,REPO_NAME3,master

master:公开的pod库

相关文章

网友评论

    本文标题:pod 依赖私有库的pod lib lint

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