- 环境(现象)
私有库(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
网友评论