At my work, we have a private cocoapods repository that we use to host whitelisted libraries for developers, and I am trying to validate a library I wrote.
Whenever i do a pod spec lint MYPODNAME --verbose
, CocoaPods tries to validate my spec against the master
repo instead of my private repo.
Is there any way to get around this behavior?
I have tried completely removing the master repo, but it still attempts to validate my pod's dependencies against master
EDIT: This issue seems to describe what I am experiencing.
Answering my own question. You have to manually specify the --sources
for what CocoaPods will validate the spec against.
pod spec lint MYPODNAME --verbose --sources=git@<DOMAIN>:<REPO>.git
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments