I am trying to use private repositories to break up a larger application. I have followed the guides at:
pod remote add MySpecs ~/local/path/to/MySpecs.git
s.dependency 'PrivateSpec' '~> 0.1.0'
Unable to find a specification for [PrivateSpec] depended upon by [PrivateClientSpec]
The reason is that the
pod spec linter is only checking the master specs, so it can't find your private one.
You'll need to use the
--sources option, like this:
pod spec lint --sources='git@our-private-spec-repo:iOS/Specs.git,https://github.com/CocoaPods/Specs'
Two things two note:
pod spec lint --help you can read more about this option:
--sources=https://github.com/artsy/Specs The sources from which to pull dependant pods (defaults to https://github.com/CocoaPods/Specs.git). Multiple sources must be comma-delimited.