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


cocoapods provides 2 lint commands, spec lint , lib lint. what's exact different between them, , in scenario each used?

i read documentation (spec, lib), can not find difference between them, , not understand why cocoapods provides 2 command same thing.

tl;dr: pod lib lint = local, pod spec lint = local/remote


you mentioned had read docs it's still unclear. i'll try make more clear :

pod lib lint 

will lint pod locally, , ensure provided create pod. not enough validate pod, pod spec lint will.

pod spec lint 

will lint pod anywhere. mean can have pod source code on github, example, , lint. if pod spec lint returns without errors, can push linted pod cocoapods.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -