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