Reputation: 289
I have a podspec, that depends on another library. That library doesn't have a spec published.
What would be the best way to resolve the dependency in this case? The "dependency" keyword only allows referencing other specs, but not a repo outside (e.g. via a repo + SHA-1)
Publish a spec for the library myself? Or can I create a local podspec that I commit with the repo and reference that somehow?
Upvotes: 4
Views: 625
Reputation: 63914
You'd be best off creating a spec for the other library and including that spec as a dependency in yours. The other option would be to bundle the library with yours and reference the files in your spec locally. That is not recommended.
Upvotes: 2