iOS组件化:Unable to find a specification for `xxx` depended upon by `xxx`

问题
发布验证的时候出现如下错误:找不到某个依赖库

解决
pod spec lint –sources=’https://github.com/CocoaPods/Specs.git,http://gitlab.appshahe.com/component/metaapp-ios-specs.git’ –use-libraries –allow-warnings
1
由于发布的库依赖了私有Cocopods库 metaapp-ios-specs ,导致无法找到。

验证和发布的时候需使用 –source=’’ 指定一下源,需要的源以逗号分割即可。