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

  • 相关阅读:
    通过异常处理错误-2
    通过异常处理错误-1
    线程池
    Synchronized
    持有对象-4
    持有对象-3
    持有对象-2 迭代器深入理解
    ServletContextListener
    持有对象-1
    行为参数化
  • 原文地址:https://www.cnblogs.com/DafaRan/p/7660332.html
Copyright © 2020-2023  润新知