pod
庫 pod lib lint
報錯
[iOS] unknown: Encountered an unknown error (Unable to find a specification for `` depended upon by
image.png
podspec
文件在寫依賴的時候也無法在對應(yīng)的庫后面添加源地址。但是可以在驗(yàn)證和提交的時候?qū)懮?code>--sources 參數(shù),需要注意的是給--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