pod lib lint 報錯 Unable to find a specification for `AMap2DMap` depended upon by `DingtalkPod


執行 pod驗證 報錯如下
➜  DingtalkPod git:(2.0.0) ✗ pod lib lint --sources='https://github.com/AloneMonkey/MonkeyDevSpecs' --allow-warnings
 
-> DingtalkPod (2.0.0)
    - WARN  | description: The description is shorter than the summary.
    - ERROR | [iOS] unknown: Encountered an unknown error (Unable to find a specification for `AMap2DMap` depended upon by `DingtalkPod`) during validation.
 
[!] DingtalkPod did not pass validation, due to 1 error.
You can use the `--no-clean` option to inspect any issue.
 
 錯誤說了,不能找到 AMap2DMap 的驗證格式
 原因是因為,我的pod 源是兩個。 一個官方的pod 源(https://github.com/CocoaPods/Specs.gi)還有一個私有的pod 源(https://github.com/AloneMonkey/MonkeyDevSpecs)所以,驗證時需要加上私有源,
 應該為
 pod lib lint --sources='https://github.com/AloneMonkey/MonkeyDevSpecs,https://github.com/CocoaPods/Specs.git' --use-libraries --allow-warnings

 

 

最后的最后,在上傳github時,發現了 guthub 有文件大小限制100M 的限制。。。 坑私我啦


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM