Skip to content

Commit

Permalink
chore: support cocoapods
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelmagied94 committed Mar 31, 2021
1 parent 0162312 commit e27a5e1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
23 changes: 23 additions & 0 deletions ApolloCombine.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Pod::Spec.new do |s|
s.name = 'ApolloCombine'
s.version = '0.3.1'
s.author = { 'Joel Perry' => '[email protected]' }
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
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit e27a5e1

Please sign in to comment.