美文网首页
pod lint lint 报错

pod lint lint 报错

作者: 码客波锣 | 来源:发表于2017-09-26 10:57 被阅读32次

  • 环境(现象)

私有库(A)依赖私有库(B)

podfile中 pod ‘B’,podspec 中 s.dependency 'B'

pod install/update 可以编译运行成功

pod lib lint 报错,提示找不到某些api,但是某些可以用(有版本迭代)

  • 解决

pod repo update

  • 总结(推断、猜测)

pod lib lint 验证时会从本地repo缓存中验证


  • 环境(现象,错误提示)

[!] The spec did not pass validation, due to 6 warnings (but you can use --allow-warnings to ignore them).

  • 解决

pod lib lint / pod spec lint / pod repo push + --allow-warnings

相关文章

网友评论

      本文标题:pod lint lint 报错

      本文链接:https://www.haomeiwen.com/subject/dlcsextx.html