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
Post a Comment