執行 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 的限制。。。 坑私我啦