What's the difference between 'pod spec lint' and 'pod lib lint'?

梦想与她 提交于 2019-12-02 20:15:46
Loegic

TL;DR: pod lib lint = local, pod spec lint = local/remote


You mentioned that you had read the docs but it's still unclear. I'll try to make it more clear :

pod lib lint

Will lint your pod locally, and will just ensure that you provided everything properly to create your pod. But it will not be enough to validate your pod, Only pod spec lint will.

pod spec lint

Will lint your pod anywhere. By that I mean that you can have your pod source code up on GitHub, for example, and it will lint. If the pod spec lint returns without errors, you can push the linted pod up to Cocoapods.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!