[iOS] unknown: Encountered an unknown error (Unable to find a specification for `` depended upon by

podpod lib lint报错
[iOS] unknown: Encountered an unknown error (Unable to find a specification for `` depended upon by

image.png

podspec 文件在写依赖的时候也无法在对应的库后面添加源地址。但是可以在验证和提交的时候写上--sources 参数,需要注意的是给--sources 赋值的时候,一定也要带上官方的源

pod lib lint --allow-warnings --verbose --use-libraries --no-clean --sources='http://git.xxx.com/iOS/SQSpecs.git,https://github.com/CocoaPods/Specs'
image.png

你可能感兴趣的:([iOS] unknown: Encountered an unknown error (Unable to find a specification for `` depended upon by)