diff --git a/ApolloCombine.podspec b/ApolloCombine.podspec new file mode 100644 index 0000000..3098ec8 --- /dev/null +++ b/ApolloCombine.podspec @@ -0,0 +1,23 @@ +Pod::Spec.new do |s| + s.name = 'ApolloCombine' + s.version = '0.3.1' + s.author = { 'Joel Perry' => 'joel@joelperry.net' } + s.homepage = 'https://github.com/joel-perry/ApolloCombine' + s.license = { :type => 'MIT', :file => 'LICENSE' } + + s.summary = 'A collection of Combine publishers for the Apollo iOS client.' + + s.source = { :git => 'https://github.com/joel-perry/ApolloCombine.git', :tag => s.version.to_s } + + s.ios.deployment_target = '13.0' + s.osx.deployment_target = '10.15' + s.tvos.deployment_target = '13.0' + s.watchos.deployment_target = '6.0' + + s.source_files = 'Sources/ApolloCombine/*.swift' + + s.weak_frameworks = 'SwiftUI', 'Combine' + s.dependency 'Apollo/Core', '>=0.34.0' + s.swift_version = '5.2' + +end diff --git a/README.md b/README.md index 0279423..007fce8 100644 --- a/README.md +++ b/README.md @@ -62,5 +62,12 @@ watchSubscription.cancel() ### Swift Package Manager The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. Use Xcode’s Swift Packages option, which is located within the File menu. +### CocoaPods +ApolloCombine is available through [CocoaPods](https://cocoapods.org/). To install it, simply add the following line in your `Podfile` + +``` +pod 'ApolloCombine' +``` + ## License ApolloCombine is released under the MIT license. [See LICENSE](LICENSE) for details.