cocoapods-art
cocoapods-art copied to clipboard
Deploy to local repository but depends on public pods
I have a locale repository. My private pods depends on other public pods
spec.dependency 'SwiftProtobuf', '~> 1.1.1'
When I run pod install
!] CocoaPods could not find compatible versions for pod "SwiftProtobuf":
In snapshot (Podfile.lock):
SwiftProtobuf (from `https://github.com/sliu1/swift-protobuf`, commit `db7ae5fe9651e360d90d24e53a8be7c6834dcf5a`)
In Podfile:
SwiftProtobuf (from `https://github.com/sliu1/swift-protobuf`, commit `db7ae5fe9651e360d90d24e53a8be7c6834dcf5a`)
Test was resolved to 0.0.1, which depends on
SwiftProtobuf (~> 1.1.1)
How can I specify source of dependency?
I believe you should just put in your Podfile:
plugin 'cocoapods-art', :sources => [
'master', '<<your local repo name>>'
]